RE: Using a proxy manually from a webbrowser?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The more I think about it, the less likely I find it that you will succeed.

1. The ProxyPass'ing is a nobrainer.

2. You will not be able to rewrite Location headers (ProxyPassReverse)

3. AFAICS you will not be able to proxy_html relative URLs correctly 

The directives below are totally untested. If you ever manage to get this up and running, don't hesitate to post to the list...


LoadModule proxy_html_module /usr/local/apache2/modules/mod_proxy_html.so

ProxyVia Off
ProxyRequests Off
ProxyPreserveHost On
RewriteEngine On
RewriteLogLevel 9

ProxyHTMLLogVerbose On
ProxyHTMLExtended On
SetOutputFilter proxy-html

RewriteRule ^/([^\/]+)(.*) http://$1$2 [P,L]

ProxyHTMLURLMap http://([^\/]+)/(.*) http://myapache.com/$1/$2 [R]
ProxyHTMLURLMap /(.*) /whatserver??.com/$1 [R]


Good luck
-ascs
 
-----Message d'origine-----
De : Martin Fick [mailto:mogulguy@xxxxxxxxx] 
Envoyé : jeudi 8 novembre 2007 17:48
À : users@xxxxxxxxxxxxxxxx
Objet : RE:  Using a proxy manually from a webbrowser?

--- Axel-Stephane  SMORGRAV
<Axel-Stephane.SMORGRAV@xxxxxxxxxxxxxx> wrote:
>
> Well there are 8 lines about implementation issues and 2 lines of 
> warning. I would not call that a lecture...
 
Sorry, I jumped too quickly. I knew that the moment I hit the send button. :(

I would still like a proposed solution, most of what you mentioned seemed like all the normal problems associated with ProxyPass (rewriting html urls...).  Ignoring those for now, I am still asking for how the forwarding could be done?  What directives and what format?  I understand that this may not be perfect.

-Martin


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux