I have a custom AccessFileName setup for my virtual host. How can I get that variable via code?
I've looked at the $_SERVER variables available but it doesn't have the AccessFileName listed as an available variable.
I do need to have this AccessFileName
setting different for different virtual hosts so if I can do this without updating php.ini that would be ideal.
If you can add this option to virtualhost config, so you can add another one:
SetEnv ACCESS_FILE_NAME .another-name
And get it in php using $_SERVER['ACCESS_FILE_NAME']