Is there an inbuilt way to read the active DirectoryIndex in .htaccess (or httpd.conf etc) with php?
Also, is there a way to determine which file the httpd will execute using PHP given a url if rewrites are being used?
Basically, given a URL, I want to use PHP to figure out which file the httpd would initially invoke.
Thank you.