LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   debian apache documentroot (https://www.linuxquestions.org/questions/linux-newbie-8/debian-apache-documentroot-419919/)

see 02-26-2006 09:16 PM

debian apache documentroot
 
i use rh before ,and i try debian recently

i wanna change the path of documentroot

but i can't found documentroot in apache2.conf

how to change the documentroot in debian?

thanks :>

darthtux 02-26-2006 11:49 PM

You can add it in apache2.conf for the default domain or better put it in
/etc/apache2/sites-enabled/000-default
file

see 02-28-2006 02:18 AM

i changed the diretory to /test
and got the message when restart apache

Forcing reload of web server: Apache2 ... failed!
You may still have some apache2 processes running. There are
processes named 'apache2' which do not match your pid file,
and in the name of safety, we've left them alone. Please review
the situation by hand.
Syntax error on line 6 of /test/index.html:
Expected </!--> but saw </HEAD>


All times are GMT -5. The time now is 09:03 AM.