Re: mod_rewrite on reverse proxies...

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

 



Sorry, below I meant mod_proxy, not mod_rewrite.

André Warnier wrote:
Mike Lyon wrote:
...


So what I would like to know is if there is a way I can rewrite those hrefs when they go from the server to the client with mod_rewrite so the client is pointed to an SSL href and not just a regular http href. Is something that
mod_rewrite is capable of doing?

mod_rewrite only deals with HTTP headers, not the content.
You probably need to parse/filter the content which you return and modify these URLs on-the-fly.
There exists a module to do that, but I forget its name. ProxyHtml ?
In simple cases, there is another module that could help, working more like sed. I also forget its name, but you could try looking for mod_replace.

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