httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gaming Mouse <gaming_mo...@yahoo.com>
Subject Re: [users@httpd] Changing DocumentRoot Doesn't Work
Date Thu, 07 Dec 2006 09:28:08 GMT

>     Sounds to me like Apache can't find the httpd.conf file for some
reason... there should be a command switch to force it to look at a specific
place:
>
> httpd -V
>
> should tell you what config that it has been compiled to look for - make sure
it's in the right place or,
>
> httpd -f "path:/to/config/filename.conf"
>
> will start Apache with said config file.
>
>
> Norm
> ---
>   

Hey Norm,

Thanks for the reply.  Here is the output of httpd -V.  Can you let me 
know if it is indeed not finding httpd.conf and, if not, how I can fix 
the problem permanently?  Do you recommend adding the -f switch info to 
the shortcut that I use to start httpd.exe?

C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd -V
Server version: Apache/2.2.3
Server built:   Jul 27 2006 16:49:49
Server's Module Magic Number: 20051115:3
Server loaded:  APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture:   32-bit
Server MPM:     WinNT
  threaded:     yes (fixed thread count)
    forked:     no
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/winnt"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/apache"
 -D SUEXEC_BIN="/apache/bin/suexec"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error.log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"


 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

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