cakephp2-php8/public/.htaccess
phpnut cd86555549 moving cake to a sub directory
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@106 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-05-15 21:41:38 +00:00

9 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