httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aimal Khattak" <>
Subject RE: httpd.conf Mystery continues
Date Mon, 15 Jul 2002 07:06:26 GMT
Thanks Mark..

I tried the httpd -V and it shows HTTPD_ROOT=/usr/aimal/Apache
and SERVER_CONFIG_FILE=conf/httpd.conf

These are the exact places where I have been checking for the config files..

What really is strange is that on changing DocumentRoot location to /usr/aimal/Apache/htdocs
nothing changes and the server still picks htdocs from /usr/local/httpd/htdocs directory..
 i.e. changes in httpd.conf has no effect on anything ???

I also checked the $HTTPD variable in the apachectl shell file and found it pointing to the
right bin location ..

I have to use mod_rewrite but before I can go that far .. I have to first clear this mystery!!!

Thanks a lot in advance..

----- Original Message -----
From: Mark Mentovai <>
Date: Fri, 12 Jul 2002 09:34:07 -0400
Subject: RE: Apache httpd/modules

> Aimal Khattak wrote:
> > I have one more question regarding the setup of httpd.conf file.. I
> > have installed Apache in /usr/aimal/Apache.  In the Apache directory,
> > in the conf directory file httpd.conf, even if I modify the
> > DocumentRoot path, it doesnt change anything and the .html files
> > continue to be served from the path /usr/local/httpd/htdocs for some
> > reason completely unknown to me ..
> > 
> > is the real httpd.conf file the one in /usr/aimal/Apache/conf ?? or
> > somewhere else.. is there a way to find out from where the server is
> > actually reading the httpd.conf file ??
> When Apache is built, a number of path configuration items are assigned 
> default values.  Most of these can be overridden in the configuration 
> file, but for obvious reasons, the location of the configuration file 
> can not.  Run "httpd -V" to determine where your httpd executable will 
> look for its configuration.  SERVER_CONFIG_FILE, if not absolute, is 
> relative to HTTPD_ROOT.
> To specify an alternate configuration file, invoke httpd with "-f 
> <config>" or "-d <serverroot>" to override the compiled-in defaults.  
> If you use apachectl, you can modify it to include these arguments.  
> You can also rebuild Apache, adjusting these settings before running 
> "make."  "configure" makes it easy to do this.
> Mark
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Sign-up for your own FREE Personalized E-mail at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message