httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Gazzini" <t...@barzakh.co.uk>
Subject RE: [users@httpd] Question about httpd.conf
Date Thu, 01 May 2003 14:02:30 GMT
That's what I'd expect. But if the only change I make to the default
httpd.conf file is:

	DocumentRoot /var/www/htdocs

and keep:

	ServerRoot /usr/local/apache

and then restart the server, it still looks for files on
/usr/local/apache/htdocs.

Puzzled,
Tom


> -----Original Message-----
> From: Jamie.Kerwick@benenden.org.uk 
> [mailto:Jamie.Kerwick@benenden.org.uk] 
> Sent: 01 May 2003 12:38
> To: users@httpd.apache.org
> Subject: RE: [users@httpd] Question about httpd.conf
> 
> 
> I think you have set the wrong directive in the config file, 
> it should be;
> 
> DocumentRoot /var/www
> 
> Rather than
> 
> ServerRoot /var/www
> 
> As I would image (correct if Im wrong) this changes where the 
> httpd looks for its' 'internal' files, ie config files etc..
> 
> Jamie
> 
> --------------------------------------------
> Jamie.kerwick@benenden.org.uk
> ITS
> Internal Extension : 5806
> Direct Dial        : 0870 754 5806
> --------------------------------------------
> 
> -----Original Message-----
> From: Tom Gazzini [mailto:tomg@barzakh.co.uk] 
> Sent: 01 May 2003 12:36
> To: users@httpd.apache.org
> Subject: [users@httpd] Question about httpd.conf
> 
> 
> I've built apache 1.3.27 using the default file layout. 
> Everything works fine. I want to move my html files to 
> /var/www so I add the following directive to 
> /usr/local/apache/conf/httpd.conf :
> 
> 	ServerRoot /var/www
> 
> I've already created an appropriate directory structure under 
> /var/www. However, httpd now no longer starts up, and the 
> error_log contains the
> following:
> 
> 	fopen: No such file or directory
> 	httpd: could not open document config file 
> /var/www/conf/httpd.conf
> 
> Does this mean that I need to have ANOTHER httpd.conf file 
> under /var/www/conf, in addition to the to the one in the 
> standard location of /usr/local/apache/conf ?
> 
> - Tom


---------------------------------------------------------------------
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