Nobody's got an idea? :-( This is quite frustrating.

On Fri, Jan 21, 2011 at 10:24 AM, psybear83 <[email protected]> wrote:
> Hey everybody
>
> I never had to deploy a CakePHP app to a production server before, and
> now I'm a bit stuck.
>
> While my app works like a snap on my development machine, URL
> rewriting doesn't seem to work on the production server. This means:
> everything works fine as long as I access the app with myapp?
> url=controller/action, but myapp/controller/action doesn't work.
>
> First I remarked that there's no .htaccess file in htdocs. Maybe I
> have forgotten to check it into my Subversion (and didn't notice it
> because locally i'm using virtual hosts that point right to the app/
> webroot folder)? So I copied it from another live app, and it has the
> following content:
>
> <IfModule mod_rewrite.c>
>   RewriteEngine on
>   RewriteRule    ^$ app/webroot/    [L]
>   RewriteRule    (.*) app/webroot/$1 [L]
> </IfModule>
>
> But sadly now I always get a 403 forbidden mesage! What could be the
> problem here?
>
> Thanks a lot for help.
> Josh
>
> --
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group at 
> http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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