Thanks, it help me to solve the problem. I just try to change .htaccess in the root directory of cakephp. I still have the error msg.
But everything works perfect now. Thanks a lot for your help Charlie On Aug 28, 8:40 am, Geoff Ford <[EMAIL PROTECTED]> wrote: > It's an apache configuration issue. I never have to edit the .htaccess > files and my development machine uses subdirs. > > http://httpd.apache.org/docs/1.3/mod/mod_dir.html > A "trailing slash" redirect is issued when the server receives a > request for a URLhttp://servername/foo/dirnamewhere dirname is a > directory. Directories require a trailing slash, so mod_dir issues a > redirect tohttp://servername/foo/dirname/. > > Geoff > --http://lemoncake.wordpress.com > > On Aug 28, 4:11 am, "Vivek Narula" <[EMAIL PROTECTED]> wrote:> Can anyone > else provide me some solution about my problem. > > > Thanks > > > On 8/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Nope, I do not know of any others. > > > > Hope this has been a help! > > > > On Aug 27, 9:03 am, "Vivek Narula" <[EMAIL PROTECTED]> wrote: > > > > when we use "BASE_URL" then i think our url will be something like this > > > :- > > > > >http://mysite.com/myfoler/index.php................. > > > > > is there any other solution ??? > > > > > Thanks > > > > > On 8/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > The only other solution is to get rid of all the .htaccess files and > > > > > then comment out the 'BASE_URL' constant in core.php. > > > > > > This will act dynamic enough to work in any folder without having to > > > > > change anything. > > > > > > Steve > > > > > > On Aug 27, 7:56 am, CakeMan <[EMAIL PROTECTED]> wrote: > > > > > > Thanks Steve for your reply, > > > > > > > Your method will work however i can't hardcode the myfolder into > > > > > > htaccess. I need some general solution to my problem. > > > > > > > pls help me to sort this out. > > > > > > > Thanks > > > > > > > On Aug 22, 10:06 pm, "[EMAIL PROTECTED]" > > > > > > > <[EMAIL PROTECTED]> wrote: > > > > > > > Greetings! > > > > > > > > When you are using .htaccessfiles outside of the root domain, e.g > > > .http://mysite.com/myfolder, > > > > > you need to add a "RewriteBase" rule to > > > > > > > the .htaccessfiles. > > > > > > > > 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 .htaccessfile or may be with some > > > > > > > > Constant declaration. > > > > > > > > > Please help me out to sort out this problem. > > > > > > > > > Thanks- Hide quoted text - > > > > > > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---