Skip to content

@dizyart /.htaccess_cake_with_subs
Last active

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
.htaccess to allow subdirectory access parallel to a CakePHP app
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/(?:development|cgi-bin|v1\.5|phpMyAdmin)(?:$|/)
RewriteRule ^$ app/webroot/ [L]
RewriteCond %{REQUEST_URI} !^/(?:development|cgi-bin|v1\.5|phpMyAdmin)(?:$|/.*)
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.