cakephp2-php8/public/.htaccess

10 lines
292 B
ApacheConf
Raw Normal View History

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