hi all

here's a message about this issue again, because it's been discussed
here already
http://groups.google.com/group/cake-php/browse_thread/thread/9f4279de30d0c6e5/e14372322a430efe
http://groups.google.com/group/cake-php/browse_thread/thread/8ebb8b8d005b7736/47cb74a831ad7b5e
but it doesn't seems to be really "solved" (at least the issue still
comes with fresh installs of Cake, which is a pity) :

a 400 bad request error is returned when accessing directly the cake
install path without ending "/" (http://example.com/cake_install) (I'm
on winXP and apache 1.3.3)

I proposed to change the root .htaccess like this :

<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteRule    ^$ app/webroot/    [L]
   RewriteCond  %{REQUEST_FILENAME} !-d
   RewriteCond  %{REQUEST_FILENAME} !-f
   RewriteRule    (.*)  app/webroot/$1 [L]
</IfModule>

but after testing a bit, it brings some security problems, especially
you can access the "cake" directory, so I added an .htaccess like this
in "cake" :

Order Deny, Allow
Deny from all

what do you think of the solution I gave ?
why not merging it in the next version ?

++++++
clemos

On 7/7/06, kiterminal <[EMAIL PROTECTED]> wrote:
>
> Your solution is work.
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to