![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
httpd.conf file - need help on this
Does each directory in the root have its own httpd.conf file?
I am trying to find mine so I can edit it. Obviously I won't be able to do it in ftp so I need to go through ssh but I don't know the commands for this. Anyone have step by step instructions for opening httpd.conf & making edits to it |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Sep 2003
Location: amerinoc.com
Posts: 419
|
Only if the main httpd.conf file is configured to include a separate config file for each user .. otherwise, by default there is just one config in the main apache config directory.
Most control panels do use separate config files for each user though.. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
# locate httpd.conf
/etc/httpd/httpd.conf # pico /etc/httpd/httpd.conf Ctrl-O Ctrl-X to save and exit after editing. Not all vhosts need have their own httpd.conf file, though it makes for easier management - if you want each vhost to have it's own conf file, add this to the end of the main httpd.conf: Include /etc/httpd/vhosts/*.conf
__________________
![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Jul 2005
Location: GDL Jal.
Posts: 536
|
you would probably be safer if you let your host do the mods for you since it isnt just a matter of opening the file and making modifications you also need to reload or restart apache after any mods to the file plus you could really muss things up if you dont know what your doing.
Btw what are you exactly trying to do? are you just wanting to add something to the virtual conf of a domain on your server?
__________________
IcQ 50611033 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
Quote:
yes, it does need to be restarted too, so I just asked hosting company to do it.. I decided I don't want to fuck with it. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Nov 2004
Location: scv
Posts: 2,299
|
You should have your host do it for you. Or, use .htaccess.
Otherwise, I use vi to edit the file and you can restart with 'apachectl restart' Edit - you already asked your host. Good idea. |
![]() |
![]() ![]() ![]() ![]() ![]() |