PDA

View Full Version : How to change Apache Directory


cybereatl
25th March 2006, 18:42
Am running an stand alone server and I need to user the directory:

/home/www instead of /var/www/html

How can I do that??

Thanks

till
26th March 2006, 00:08
The path is set in your apache configuration. The config files are either in /etc/apache or /etc/apache2 directory.

cybereatl
26th March 2006, 17:48
The path is set in your apache configuration. The config files are either in /etc/apache or /etc/apache2 directory.

I try to find the folder but I got:
/etc/httpd/conf/httpd/conf but not sure if that is the proper one.

I've modified that folder and restart apache and it works, only thing was complaining about, because need that I've created folder in /home/www

Thanks

sbovisjb1
28th March 2006, 15:07
if you want to change directories, use the commands mkdir and make a new directory. If you have already done that. Use the mv and touch commands to move and rename pertinant files.

cybereatl
28th March 2006, 15:39
Yes, that's right I have done that.

Thanks a lot

Regards,