Re: URG:DocumentRoot relate query on WIndows

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

 



What you are seeing is correct behavior, DocumentRoot is an absolute
path, whether you have specified this or not. If httpd sees an incomplete
path, it is going to work out an absolute path from the ServerRoot If it
appends the default and cannot establish a full path, you will receive
the indicated error.

It seems your ServerRoot/config is equally problematic, if httpd.conf
exists in the root of a system volume. There should be nothing that
is significant about the volume C:, but there may be something very
significant about the permissions of that volume, etc.

On Fri, Mar 10, 2017 at 7:25 AM, Ishan Thakur
<ishanthakur41@xxxxxxxx.invalid> wrote:
> Hi All,
>
> We are using http-2.2.31 for our application on Windows.
> We are running our application as Local Service on Windows.
> The problem description is as follows:
> “We are setting the documentRoot as “web”(no complete absolute path). This
> works fine for all the paths.
> The paths can be direct drive(D:\). But it fails only for C drive(C:\). The
> same works fine for all other paths(D:\, C:\Program Files…etc)
>
> For C drive, we are getting following error:
>
> Syntax error on line 129 of C:/httpd.conf:
> DocumentRoot must be a directory
>
> Is there any restriction for C drive on Windows for Apache httpd-2.2.31?
>
> Regards,
> Ishan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-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