Friday 06 April 2007 4:40:38 am
Having an apache2/php5 instance on port 80 and apache2/php4 on 8080, I am using the following configuration under the first instance to have everything on port 80:
<VirtualHost *:80>
ServerName user_site
ProxyPass / http://user_site:8080/
</VirtualHost>
<VirtualHost *:80>
ServerName admin_site
ProxyPass / http://admin_site:8080/
</VirtualHost>
Trying to login on http://admin_site/, I am authenticated and then redirected to http://admin_site:8080/ where I am asked to login.
In fact, going to http://admin_site/, I see that I am well authenticated, I guess that cookies are set for the :80 instance and not for the :8080.
Every "redirect" actions will put me on the :8080 site. Any way to "fix" the "site url" ?
Note the ":8080" that I have to use in my override/site.ini:
[SiteAccessSettings]
HostMatchMapItems[]=user_site;ezwebin_site_user
HostMatchMapItems[]=admin_site:8080;ezwebin_site_admin
Or the admin_site will not be catched!
Patrick ALLAERT
http://patrickallaert.blogspot.com/
|