On my local dev environment, I want to allow directory listings where there is no index file in the directory.
This works fine until I add my .htaccess (for removing index.php on my CMS) file which looks like this
RewriteEngine On
RewriteRule ^(_app) - [F,L]
RewriteRule ^(_config) - [F,L]
RewriteRule ^(_content) - [F,L]
RewriteRule ^(.*).yml$ - [F,L]
RewriteRule ^(.*).yaml$ - [F,L]
RewriteRule ^(.*).html$ - [F,L]
RewriteRule ^(.*/)?\.git+ - [F,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php [QSA,L]
I get a 403 forbidden error.
Any ideas on how to override?
Hi got to have it working just by turning on INDEXES at Extended Tab, Options for directive.