mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
10 lines
292 B
ApacheConf
10 lines
292 B
ApacheConf
|
# 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
|