Friday, August 19, 2011

Re: CakePHP beginner having trouble setting up .htaccess files with 1and1.com server config

heya Seth...

Am Freitag, den 19.08.2011, 05:26 -0700 schrieb Seth Barrett:

[...]

> Root .htaccess -
>
> AddType x-mapp-php5 .php
> <IfModule mod_rewrite.c>
> RewriteBase /homepages/32/d183679463/htdocs/cakephp/
> RewriteRule ^$ app/webroot/ [L]
> RewriteRule (.*) app/webroot/$1 [L]
> </ifmodule>

i think you are missing a

RewriteEngine on

in that section. i get 404s when it's not there.

i don't have any RewriteBase directives anywhere in my .htaccess files,
but that might be necessary for the 1and1 setup.

hth,
Sebastian

[...]


--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: