[us...@httpd] Re: Can a proxy rewrite a 302 redirect location reply?

2009-06-22 Thread Scott Moseman
If I understand correctly, my 2nd example, which is causing me the problem, is actually the proper syntax for a 302 Location reply. Should I be able to adjust my rewrite rule to hard code a HTTP reply to the client? Thanks, Scott On Mon, Jun 22, 2009 at 2:10 PM, Scott Moseman wrote: > >

[us...@httpd] Can a proxy rewrite a 302 redirect location reply?

2009-06-22 Thread Scott Moseman
We have some SSL websites that proxy through to non-SSL websites on the inside. Here's a sample of how they are configured. ProxyRequests Off ProxyPreserveHost On ProxyPass / http://inside:8000/subdirectory1/ ProxyPassReverse / http://inside:8000/subdirectory1/ ProxyPassReverseCookiePa

Re: [EMAIL PROTECTED] GET vs POST issue w/ a Proxy/Redirect

2008-07-09 Thread Scott Moseman
>> >> ProxyPass / http://remoteserver/portal/ >> ProxyPassReverse / http://remoteserver/portal/ >> RewriteCond %{REQUEST_URI} ^/portal/(.*) >> RewriteRule ^/portal/(.*) /$1 [R] >> >> >> Thanks for the information, Nick. That said, is there another way to accomplish what I'm trying to do? The th

[EMAIL PROTECTED] GET vs POST issue w/ a Proxy/Redirect

2008-07-09 Thread Scott Moseman
*** This proxy setup works for logins Apache config: ProxyPass / http://remoteserver/admin/ ProxyPassReverse / http://remoteserver/admin/ RewriteCond %{REQUEST_URI} ^/admin/(.*) RewriteRule ^/admin/(.*) /$1 [R] Website form: Logins work (packet captures show a POST was made). *** This proxy

Re: [EMAIL PROTECTED] Rewrite Rule Help

2008-05-22 Thread Scott Moseman
> Could yo ube more specific? Is the web application configured with / > as base URL or with /portal/ as base URL? Do you want to hide the > "/portal" path for your users, of for the web application? Maybe my proxy configuration will give you more of an idea. The site has a custom port and /porta

[EMAIL PROTECTED] Rewrite Rule Help

2008-05-20 Thread Scott Moseman
I'm trying to hide the /portal/ path for a website behind the scenes using mod_proxy. I had to use the RewriteEngine because the website (not under rmy control) uses some absolute URL references in the code, and if I don't remove the /portal/ reference it obviously breaks the site. RewriteEngine

[EMAIL PROTECTED] FIN packets with mod_proxy

2008-05-06 Thread Scott Moseman
Before I go too in-depth, my problem is that when I'm going through the mod_proxy instance, the FIN packets get sent from a *different* source port than the rest of the TCP transaction. Thus both hosts gets confused, packets are dropped and I cannot complete a transaction. # httpd -v Server versi