hey all,

i need some help with my .htaccess.

i have the cake folders, including the root .htaccess, in my root
folder with mydomain.com pointing on it. in the root there is also a
folder "shop" with a xtcommerce shop set up. a second domain myshop.de
is pointing to this folder.
with the default .htaccess of cakephp in the root myshop.de is not
reachable –i 'm getting "Error 500 - Internal server error".

this is the htaccess:

-----
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
<IfModule mod_rewrite.c>
    RewriteEngine on

    RewriteCond %{HTTP_HOST} ^mydomain\.de$ [NC]
    RewriteRule ^(.*)$ http://www.mydomain.de/$1 [R=301,L]

    RewriteBase    /
    RewriteRule    ^$ app/webroot/    [L]
    RewriteRule    ^(.*) app/webroot/$1 [L]
</IfModule>
----

if i rename or delete the .htaccess i can reach the shop.
also when i delete the following lines:

RewriteRule    ^$ app/webroot/    [L]
RewriteRule    ^(.*) app/webroot/$1 [L]


can anyone help me with this?
the customer is hosting on 1and1 and i don't have access to the apache
error.log file.

thanks!!

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to