Forum Moderators: phranque
1.
Assuming my document root is
DocumentRoot "C:\X\Y"
Is there any difference between
<Directory C:\X\Y>
and
<Directory />
?
And, if there is directory Z under Y, i.e. C:\X\Y\Z
<Directory C:\X\Y\Z>
and
<Directory /Z>
2.
Is "/" and "\" equivalent in apache config file for win32?
I am confusing about it.
You should be using the filesystem paths for the OS (Operating System) on which you are running Apache. So if it is *nix, the root starts at "/" and Windows, "C:/" -- you should always use the slash (/) as path separator though, even for Windows.
[httpd.apache.org...]
[httpd.apache.org...]