Problem with Apache2.

Todd Deshane deshantm at
Fri Jul 1 02:23:17 UTC 2005

You should check out the directories 

They both have document root directives in
the containing files. 

notice also this line at the end of the apache2.conf file

# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/[^.#]*


On 6/28/05, wayne <infotechsys at> wrote:
> I'm running ubuntu's Hoary system and I recently
> went to Apache2. I used Synaptic to completely
> remove Apache and PHP4.By <http://PHP4.By> completely, I mean
> I selected the option in Synaptic to remove
> the scripts also. The problem I'm having is that
> it still appears that I have some of the old
> Apache system around.In <http://around.In> my current Apache
> config file, which is now called "apache2.conf",
> I have no DocumentRoot directive, yet when
> I try to run the sample php4 script to test
> if thing got install properly, I get an
> error in my error.log that /var/www file
> cannot be found. This was the value
> assign to my old DocumentRoot directive.
> I tried searching the net to see if I should
> add this directive, DocumentRoot, to my
> config file, but nothing was found.I'm not sure
> if Debian meet to leave this out.Also, why
> is Apache2 looking for /var/www when this
> value is not in my current config file?
> Thanks
> --
> ubuntu-users mailing list
> ubuntu-users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ubuntu-users mailing list