Hello, I'm working on a sort of fancy directory indexer, which runs with apache. The problem is that I don't know where the requested directory is situated on the local filesystem.
The default (relative to the document root) is easy, but for the extra directories (eg. the icons directory, or user directories) it becomes a bit tricky.
For users I could make the assumption that a users directory would be ~user/public_html, but that is not always true, for the others it would be pure hacks.
Is there some way to ask Apache where an URI would normally reside on the filesystem?