httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Peelman <npeel...@cfl.rr.com>
Subject Re: [users@httpd] DocumentRoot - Apache2 - Ubuntu
Date Tue, 22 May 2007 10:20:38 GMT
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message