1.in production you document root should point to app/webroot. 2. if you have a directory in app/webroot cake wil show that directory first insted of trying to find a controller for it HTH, -- Marcin Domanski http://kabturek.info
On Mon, Aug 18, 2008 at 9:49 PM, Arak Tai'Roth <[EMAIL PROTECTED]> wrote: > > I thought that might be the solution. I was looking around at how to > write RewriteRules in .htaccess, everything I can find seems to be a > more complicated problem then what mine is, and thus a more > complicated solution. Do you have any example code or somewhere I can > see example code in regards to this problem? > > On Aug 18, 12:06 pm, Kalt <[EMAIL PROTECTED]> wrote: >> Simply add a rule to your www/.htaccess, so everything starting with >> portfolio/ is NOT redirected to index.php >> >> On 18 août, 19:44, "Arak Tai'Roth" <[EMAIL PROTECTED]> wrote: >> >> > So, I have this problem and wasn't even sure what to search for to >> > find a solution, so I thought I would ask here. >> >> > In my main directory, I have the normal cake folders app, cake, docs, >> > and vendors. >> >> > However, I also have a directory called portfolio. What I want is when >> > a user types inhttp://www.mysite.com/portfolio/*. I want it to take >> > him to whatever is stored in that folder, instead of applying Cake to >> > it and looking for controllers, models, etc.... >> >> > Is there anyway to do this, and if so how? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
