# NOTE: Where filenames are specified, you must use forward slashes
# instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
# If a drive letter is omitted, the drive on which httpd.exe is located
# will be used by default. It is recommended that you always supply
# an explicit drive letter in absolute paths to avoid confusion.
On Fri, Mar 10, 2017 at 8:25 AM, Ishan Thakur
<ishanthakur41@xxxxxxxx.invalid> wrote: You'll have to provide some more detail. How does "web" work for
> “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?
different drive letters? Do you specify different server roots in
different configuration files?
There's nothing special about the C drive when you specify a DocumentRoot.
--
Eric Covener
covener@xxxxxxxxx
------------------------------------------------------------ ---------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx