I would like to tell you about the problem I´m having now. The thing is that I moved my cakephp project from the test enviroment to the production enviroment, the production server handles some virtual servers. So, i placed my project in D:\xampp\htdocs. And added the following lines in my httpd-vhosts.conf:
<VirtualHost *:80>
ServerAdmin admin@myhost.com.mx
DocumentRoot "D:/xampp/htdocs/enterprise"
ServerName enterprise.ent.com
ErrorLog "logs/enterprise.ent.com.log"
CustomLog "logs/enterprise.ent.com.log" combined
</VirtualHost>
The problem comes when I log in, everything works fine, until I make a redirect with the line:
$this->redirect("/Main");
This redirect takes me again to the log in page, so this tells me the redirect did not work. Does anybody know about this?, could you give some help?
I´m using apache 2.2 over windows server. Best regards and thanks in advance.