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:
>
>
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
>>
>> 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
*** 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
> 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
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
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