httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pedro Salazar <pedro-b-sala...@ptinovacao.pt>
Subject Re: [users@httpd] mod_rewrite + ProxyPassReverse
Date Mon, 13 Oct 2003 16:39:34 GMT
> That doesn't seem like the correct syntax for ProxyPassReverse.  See:
> http://httpd.apache.org/docs-2.0/mod/mod_proxy.html#proxypassreverse
> 
> I'd guess something like this would be closer:
> ProxyPassReverse /tst/ngicard_06/ http://hostname.example.com:9080/ngincard_06/
> 
> Note that ProxyPassReverse can't do the %{SERVER_NAME} variable
> substitution, so you need to include the literal name there.
> 
> Joshua.

I'm having a problem with user session variables. The user/password I
submit in a form are not defined when using ProxyPassReverse. I mean, on
server side I that parameters are null. When accessing directly to
server on 9080 port works just fine.

My rules:

ProxyPassReverse /tst/ngincard_06/
http://192.168.89.158:9080/ngincard_06/
RewriteRule ^/tst/ngincard_06/(.*)
http://%{SERVER_NAME}:9080/ngincard_06/$1 [L,P]


When I acess http://192.168.89.158:9080/ngincard_06/, the application
works just fine. But when I use http://192.168.89.158/tst/ngincard_06/,
the url I see in the browser still remains on port 80, but the user
session variables are not working!!!

Is the ProxyPassReverse rule throwing away any session information?
The ProxyPassReverse shouldn't have a wildcard or it's implicit? 

thanks,
Pedro Salazar.
-- 
PS
pedro-b-salazar@ptinovacao.pt
PGP:0E129E31D803BC61


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message