Skip to content

Instantly share code, notes, and snippets.

@dogmatic69
Created October 3, 2010 21:26
Show Gist options
  • Save dogmatic69/608952 to your computer and use it in GitHub Desktop.
Save dogmatic69/608952 to your computer and use it in GitHub Desktop.
Using other apps with CakePHP
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule (some_folder/.*) $1 [L] # adjust the regex to what you want.
# normal cake rules
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment