- Code: Select all
SetEnv APPLICATION_ENV development
AddDefaultCharset UTF-8
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
When i try to access to index.php i have intenal server error. Intresting is when I navigate to higher directory i doesn't see the folder with index.php.