RE: ProxyPassReverse not working as documented??? (Apache 2.2)

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

 



Whenever possible I try to avoid modifying the URL path when reverse proxying. Then mod_proxy_html is not needed and you save some CPU cycles.
 
<Location /flickr>
    ProxyPass http://www.flickr.com/flickr
    ProxyPassReverse http://www.flickr.com/flickr
</Location>

-ascs

________________________________

De : proteus guy [mailto:proteusguy@xxxxxxxxx] 
Envoyé : vendredi 28 septembre 2007 21:50
À : users@xxxxxxxxxxxxxxxx
Objet : Re:  ProxyPassReverse not working as documented??? (Apache 2.2)


Thanx Joshua,

    I do have the mod_proxy_html going now and it works as expected. You're right about "not rewriting URL references inside html" as being pretty categorical - but we tend to see what we want to see and that following sentence implied just what I was looking for so I was perfectly capable of ignoring the prior inconvenient bit. :) 

    -- Ben


On 9/29/07, Joshua Slive <joshua@xxxxxxxx> wrote: 

	Ok. Sorry for my slightly snarky response. But your problem is in the
	interpretation of the term "relative URL". This is referring to URLs
	that don't start with a slash, rather than URLs that don't start with 
	a hostname and scheme. And anyway, the sentence just before this says
	"nor will it rewrite URL references inside HTML pages", which is
	pretty clear and categorical in itself.
	
	--------------------------------------------------------------------- 
	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 <mailto: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