Hi BlenderStyle, Unless there is something wrong with your .htaccess files right now the url http://domain.com/subfolder/file.swf woud give you the same result as http://domain.com/app/webroot/subfolder/file.swf . The html helper should be generating you the 1st form (if not check your .htaccess files)
On 5 abr, 06:57, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote: > On 4/5/07, BlenderStyle <[EMAIL PROTECTED]> wrote: > > >http://domain.com/(Cake installation) > >http://domain.com/project1(some non-Cake website) > >http://domain.com/project2(another Cake website) > > I would suggest that for keeping your real document root clean (and > doing what is possible) > > http://domain.com/defaultcake(Cake > installation)http://domain.com/project1(some non-Cake > website)http://domain.com/project2(another Cake website) > > Then use a mod_rewrite rule(s) to make the URL go > tohttp://domain.com/defaultcakeIfhttp://domain.com/is accessed Hi Tarique, Why add the complexity (I'm sure you have a valid reason)? If you have /Root /css /js index.php .htaccess (standard webroot file) /anotherdir etc. /anotherCakeapp index.php .htaccess (standard webroot file) etc. etc. /blahBlah/something.html would give you the file /blahBlah/ something.html if it existed; the controller 'something' (or appropriate error) if you had a cake app in a subfolder named / blahBlah; or the controller blahBlah and action 'something.html' (or appropriate error) otherwise. Maybe relevant: http://www.noswad.me.uk/MiBlog/ProductionSetup hth, AD --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
