Re: Changing DocumentRoot Doesn't Work

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

 



Just for my sake, couldn't a '-f /path/to/file' have avoided this problem?

On 12/7/06, Norman Peelman <npeelman@xxxxxxxxxx > wrote:
----- Original Message -----
From: "Gaming Mouse" < gaming_mouse@xxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Thursday, December 07, 2006 4:28 AM
Subject: Re: Changing DocumentRoot Doesn't Work


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


    Looks like you got this working?...


Norm
---
FREE Avatar hosting at www.easyavatar.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



[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