mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
4a87a75332
- Helpers for controllers -- each controller has it's own helper in the /app/helpers directory - /logs and /modules directories - The application runs just fine without /config/database.php if controllers don't ask for db access - Changed the name of /public/dispatch.php to /public/index.php, it's nicer and more standard, won't you agree? Kamil's fix for no-mod_rewrite needs to be re-implemented - Cleanups, fixes, and even one or two comments ;) git-svn-id: https://svn.cakephp.org/repo/trunk/cake@158 3807eeeb-6ff5-0310-8944-8be069107fe0
13 lines
328 B
ApacheConf
13 lines
328 B
ApacheConf
# 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>
|