On Fri, Mar 28, 2008 at 10:49 AM, Kyle Decot <[EMAIL PROTECTED]> wrote: > > I am building a website for a client and they have a large amount of > PDF's so I decided I would put them in: app/webroot/files/pdf but when > I navigate to: www.example.com/files/pdf/example.pdf i get: > > Error: FilesController could not be found. >
That's because Cake thinks you're trying to access a controller named 'Files'. You might have to do something like altering your .htaccess file to tell it to not process requests for stuff in /files as if it were a regular controller/action pair. If you look at the .htaccess file, I'm sure you can figure it out. -- Chris Hartjes Internet Loudmouth Motto for 2008: "Moving from herding elephants to handling snakes..." @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---