Hi all, I am trying to setup a reverse proxy to fwd requests to another back-end server. The back-end server actually holds a SSO application, and so for any GET from browser, it pops up a login form, which on being submitted with correct credentials, grants the requested page. This is from logs/access_log (contains initial page with 302, login page, the POST action and finally the initial page):
10.77.199.189 - - [28/Jun/2007:18:13:30 +0530] "GET /pfg/poststaticdata.html HTTP/1.1" 302 281 10.77.199.189 - - [28/Jun/2007:18:13:30 +0530] "GET /login.html HTTP/1.1" 304 - 10.77.199.189 - - [28/Jun/2007:18:13:31 +0530] "POST /cgi-bin/printenv HTTP/1.1" 302 294 10.77.199.189 - - [28/Jun/2007:18:13:31 +0530] "GET /pfg/poststaticdata.html HTTP/1.1" 200 1290 Now, I have set up a reverse proxy which ultimately sends request to this server - the login page is coming, but on clicking submit, the login page again pops up. The following is the access log from the backend server: 10.77.199.15 - - [28/Jun/2007:17:50:13 +0530] "GET /pfg/poststaticdata.html HTTP/1.1" 302 281 10.77.199.15 - - [28/Jun/2007:17:50:13 +0530] "GET /login.html HTTP/1.1" 304 - 10.77.199.15 - - [28/Jun/2007:17:50:17 +0530] "GET /pfg/poststaticdata.html HTTP/1.1" 302 281 10.77.199.15 - - [28/Jun/2007:17:50:17 +0530] "GET /login.html HTTP/1.1" 200 869 There is no POST to the action page, although it does come up in a browser based HTTP trace logs. Am I missing something here? Also, the login.html page again pops up. Are these 2 related? I also saw that the POST appears in the proxy server access log: 10.77.199.189 - - [28/Jun/2007:17:58:58 +0530] "POST /cgi-bin/printenv HTTP/1.1" 302 324 This is my httpd.conf on the reverse proxy server: <IfModule mod_proxy.c> ProxyRequests Off ProxyPass / http://ps2844:1880/ ProxyPassReverse / http://ps2844:1880/ ProxyPass /pfg http://ps2844:1880/pfg ProxyPassReverse /pfg http://ps2844:1880/pfg ProxyPass /cgi-bin http://ps2844:1880/cgi-bin ProxyPassReverse /cgi-bin http://ps2844:1880/cgi-bin <Proxy *> Order deny,allow Allow from all </Proxy> </IfModule> >From the log file of the reverse proxy, I could see that the re-direction was happenning correctly. If anyone can push me into looking at the correct location, that would be great. Thanks, Ambarish Mitra. DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails. --------------------------------------------------------------------- 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: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]