I'm using the 1and1 hosting company and having problems with my CakePHP
program. Originally I was receiving 500 Server Error. I figured my
problem was related to mod_rewrite. After finding
http://groups.google.com/group/cake-php/browse_thread/thread/74829e6c96bd3ba0
I changed my htaccess files like this (kern_cake is a subfolder
underneath the root of my website):

/kern_cake/htaccess

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule   ^$   /kern_cake/app/webroot/   [L]
    RewriteRule   (.*) /kern_cake/app/webroot/$1 [L]
</IfModule>

/kern_cake/app/htaccess

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule   ^$   /kern_cake/webroot/   [L]
    RewriteRule   (.*) /kern_cake/webroot/$1   [L]
 </IfModule>

/kern_cake/app/webroot/htaccess

<IfModule mod_rewrite.c>
        RewriteEngine on
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^(.*)$ /app/webroot/index.php?url=$1 [QSA,L]
</IfModule>

Now, when I browse to http://kernfcu.org/kern_cake (without the
trailing slash) I receive an error that says, "You are seeing this
error because controller KundenController  could not be found." Where
the hell is that coming from? It's strange because if you go to
http://kernfcu.org/kern_cake/ (with the trailing slash), everything is
okay. Any ideas?

Again:
Ok - http://kernfcu.org/kern_cake/
Bad - http://kernfcu.org/kern_cake

Note: everytime I put the dot in front of htaccess, Google Groups would
get a 502 Error when trying to post.


--~--~---------~--~----~------------~-------~--~----~
 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to