Hello! First to say: I use cakephp for my first larger project and in many situations it helped me to save a lot of time. Thanks to the team and everyone helping here!
But as usual, there are some things that are blocking progress, and I hope you can help me. I set up my application on a webhost that I dont have much rights on (cant access apache conf, no ssh, ...) but everything seemed to work fine. Even mod_rewrite seemed to work (meaning the controller actions are all accessible like http://www.myadress.com/controller/action/ ). Now I had to put everything in a subdir on the server. So my new adresses look like http://www.myadress.com/verwaltung/controller/action/ ('verwaltung' is the german word for administration, and is the subfolder i moved all my files into). I played around with the .htaccess files a bit and came up with the following configuration working: /verwaltung/.htaccess RewriteEngine on Options +FollowSymlinks RewriteBase /verwaltung/ RewriteRule ^$ app/webroot/ [L] RewriteRule (.*) app/webroot/$1 [L] /verwaltung/app/.htaccess RewriteEngine on RewriteBase /verwaltung/app/ RewriteRule ^$ webroot/ [L] RewriteRule (.*) webroot/$1 [L] /verwaltung/app/webroot/.htaccess RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] My app/webroot/index.php is still the default one. Maybe I have to change things here? The folder struct is the default one meaning cakedir is /verwaltung/cake appdir is /verwaltung/app/. The Problem: There seem to be problems with the paths in some situations at all, what I try to solve specificly now is the following problem that might have the same reason as the path problems. I try to use the auth component, have a login view, a users controller, the database table, ... and everything looks good. I used much of the code from a tutorial and everything makes sense to me. But when I try to login, the login action doesnt get the POST data from the form. By the same time sometimes after submitting the form (and being redirected to the login screen because the action didnt recieve any data) my adress becomes this: http://www.mysite.de/verwaltung/users/login/http:/www.mysite.de This all happens when I call the login directly, so i type www.mysite.de/users/login/. If I try to call any other controller and action, i should be redirected to the login screen as I set up the auth comp in app_controller. What happens is that i get into an infinite loop in the style of www.mysite.de/users/login/users/login/users/login/users/login ... This is my login code: http://bin.cakephp.org/saved/34279 I played around with the redirect adresses from setting it as array 'controller="asdf" 'action'="sth" over /verwaltung/users/login/ to / users/login/ and users/login/ all with no success but infinite loops. Im really stuck here and appreciate any hints and help for that. Sorry for the long post, but I tried to put all the necessary information in here. Thanks in advance for anyone helping! Tim --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---