This relates to the question in:
http://stackoverflow.com/questions/1599717/conditional-directoryindex-in-htaccess
The answer states that the following should work:
SetEnvIf Remote_Addr ^127\.0\.0\.0$ owner
<IfDefine owner>
DirectoryIndex index.html
</IfDefine>
<IfDefine !owner>
DirectoryIndex index.php
</IfDefine>
I am not ...
Hello!
I am developing an app in RoR which has static and dynamic parts. The static portion is placed in the public/ folder of the app. Now if i have an index.html in my public folder then i will not be able to use the routes configured in my routes.rb The default configurations like map.connect /:controller/:action will not be usable i...
Does anyone know of a way to parse the contents of the apache DirectoryIndex directive (in httpd.conf) using PHP?
...