httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Mearns" <>
Subject [users@httpd] Determine file system directory in DirectoryIndex script
Date Wed, 15 Oct 2008 12:53:43 GMT
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.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message