in reply to Re^2: Resolving correct directory path in a symlinked directory
in thread Resolving correct directory path in a symlinked directory

...and as a bonus, Apache exports a very useful environment variable for the purposes of this: SCRIPT_FILENAME.

  • Comment on Re^3: Resolving correct directory path in a symlinked directory