Replying to my own post:

Solution for problem 1:

- Use default Cake .htaccess files everywhere.
- Use this in /app/sub/.htaccess:

RewriteEngine on
RewriteRule sub$ /sub/ [L]
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]

Credits: http://jeff.loiselles.com/wordpress/?p=22


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to