You really should consider moving everything in your new/frontend/ folders
up to public_html. This is how CakePHP should be configured out of the box.
The reason your RewriteRules are not working is because they are AFTER the
standard rules for CakePHP. The have no effect because the CakePHP Rewrite
Rules have [L] which mean they each should be the last rule when they match
- and, they match everything!
Do you have other content (non-CakePHP) that you want users to access in
you document root (public_html)? This would be the only reason not to put
your app folder in the document root.
You might (I did not test this) get it to work if you did something like
replace the CakePHP RewriteRules with:
RewriteRule ^$ new/frontend/app/webroot/ [L]
RewriteRule (.*) new/frontend/app/webroot/$1 [L]
This will redirect every URL to your CakePHP app. You would get the same
result if you just moved your app to your document root.
Ken
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.