Tim Johnson wrote:
On Tuesday 22 May 2007 02:05, Stephen wrote:
<snip>
I don't see a `DocumentRoot' variable in the apache2 httpd.conf.
Can I add that variable and will it have the same effect .
Hi Stephen:
Look at some of the nested/included *.conf files.
There is no path called `included'.
the directories below /etc/apache2 are:
conf.d, mods-available, mods-enabled, sites-available, sites-enabled
Line 5 of /etc/apache2/sites-enabled/000-default
looks like this:
DocumentRoot /var/www/
Is that what you are referring to?
The idea is that changes are made to them, and not http.conf.
Pointer/URLs to documentation on this subject are invited too.
thanks
tim
As far as I know it can go into the main 'apache2.conf' file as well
as <VirtualHost> containers (as found in 000-default). You should'nt see
anything in 'httpd.conf' unless you've added it. Mine has a brief
description about backwards compat. and 1 line commented out as an example.
Norm
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]