Determine file system directory in DirectoryIndex script

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

 



Using the DirectoryIndex directive, I understand you can specify a
non-relative file path, for instance /var/www/index_for_all.php. My
question is this: is there a way to find out the system path for the
directory being indexed from within that file? I know I can get the
requested URL and various related informatio from env vars, but that's
before it goes through all sorts of RewriteRules and Alias directives.
I want Apache to tell me what system path it finally resolved the URL
to. Anyone know of a way to get this information? A global directory
indexer isn't very helpful if it doesn't know the directory to index.

Thanks,
-Brian

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