Re: Changing DocumentRoot Doesn't Work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, before you start playing with your shortcut, is there a "conf" subdirectory below the working directory specified in your shortcut, and does that conf subdirectory contain your configuration file (which had better be named " httpd.conf" !)

On 07/12/06, Gaming Mouse <gaming_mouse@xxxxxxxxx> wrote:

>     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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
Steve Swift
http://www.swiftys.org.uk
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux