Greetings! When you are using .htaccess files outside of the root domain, e.g. http://mysite.com/myfolder, you need to add a "RewriteBase" rule to the .htaccess files.
I believe you need to add the new rule right beneath the "RewriteEngine On" rule. ./myfolder/.htaccess Add: RewriteBase /myfolder/ ./myfolder/app/.htaccess Add: RewriteBase /myfolder/app/ ./myfolder/app/webroot/.htaccess Add: RewriteBase /myfolder/app/webroot/ Hope that helps! I did this from memory. Let me know if I got something wrong. Steve On Aug 22, 10:01 am, CakeMan <[EMAIL PROTECTED]> wrote: > Hello Friends, > > I am facing an problem. I have installed cakephp on my server. The > site is running fine when i open this with "http://mysite.com/ > myfolder/" BUT when i open it with "http://mysite.com/ > myfolder" (Please note the difference of "/" after myfolder) it > gives me Error as below:- > > "Bad Request > Your browser sent a request that this server could not understand. > > Additionally, a 404 Not Found error was encountered while trying to > use an ErrorDocument to handle the request. " > > I believe it is something with .htaccess file or may be with some > Constant declaration. > > Please help me out to sort out this problem. > > Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
