Re: Changing DocumentRoot Doesn't Work

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

 



Steve Swift wrote:
>> The behavior of httpd is to look in ../conf/ so that's probably not it.
> 
> That's as may be, but the OP ran httpd.exe -V and got:
>  -D SERVER_CONFIG_FILE="conf/httpd.conf"

The reason is it's conditional on the CWD - NOT the binary path (argv[0]'ish
thing).  SO...

because double clicking gives you something foolish like your personal
documents tree as current working directory, and not the binaries' path,
this is what causes the hassle.

In fact you could drop a conf/httpd.conf into your personal documents
and settings, and everything would work fine by double-clicking.

Sorry - forgotten that it's current path relative and not relative to
the path of httpd.exe.  And it's a behavior I see no reason to change.

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