LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   apache debian (https://www.linuxquestions.org/questions/debian-26/apache-debian-316808/)

el_pajaro! 04-24-2005 08:31 PM

apache debian
 
I have use apache in Red Hat, Fedora and Mandrake. Now I am trying to use only Debian. I have change de DocumentRoot to /var/www/html to work with my php sites. Then I restart the service, but it does not use the new document.

What am I doing wrong?

Greetings

zeos 04-24-2005 09:47 PM

check in /etc/apache2/sites-available/default for a RedirectMatch rule and comment it out (RedirectMatch ^/$ /apache2-default/)
Also, you can comment out the entire contents of /etc/apache2/conf.d/apache2-doc ....

Restart apache and it should start looking to /var/www/html for your documents...

el_pajaro! 04-27-2005 10:37 AM

Thanks a lot it worked :)

Greetings


All times are GMT -5. The time now is 03:25 PM.