cakephp2-php8/public/.htaccess

14 lines
328 B
ApacheConf
Raw Normal View History

# Based on Rails 0.10.0 .htaccess (www.rubyonrails.com)
<IfModule mod_rewrite.c>
# Redirect all requests not available on the filesystem to Cake
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
# In case Cake experiences terminal errors
ErrorDocument 500 500.html
</IfModule>