LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Apache path (https://www.linuxquestions.org/questions/linux-newbie-8/apache-path-652262/)

siva19185 06-28-2008 12:50 PM

Apache path
 
Generally apache default path is /var/www/html, but i need the path like this /var/siva/apache ,how to accomplish that in apache....

Thanks in advance....

jkzfixme 06-28-2008 02:29 PM

default dir in apache
 
are you trying to add a virtual server ? or are you trying to just change dir , either way it can be accomplished with the apache2.conf file or httpd.conf depending on your system most of the time its located in /etc/apache2/apache2.conf

Regards
JKZfixme

charlie0313 06-28-2008 03:33 PM

find: DocumentRoot in httpd.conf and change the value to what ever you want. When you change DocumentRoot you also have to change this:
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/usr/local/apache2/htdocs">

Hope this is what you were looking for.


All times are GMT -5. The time now is 09:56 PM.