URL rewriting
This may be a little off topic, but...
Can iptables do URL rewriting? I don't think so, but I thought I'd check anyway.
What do you use for this? I'm interested in hearing about "best practices".
I was thinking about using Squid for this... or I guess there's mod_apache as well.
What do you recommend?
Generally, I want to have one URL space as a public interface to my network. Services will be provided internally from various ports at different IP addresses, but all accessible publicly through the same URL space. IIUC, this is "reverse proxying".
Thanks for the advice!!
Dave
Quoted 1 line · David Leangen
Can iptables do URL rewriting?
You may be able to write a NAT helper doing this to a limited extent, but out of the box no.
Better to use a HTTP proxy.
Quoted 1 line
What do you recommend?
Well, Squid obviously, but then I am perhaps somewhat biased..
Quoted 4 lines
Generally, I want to have one URL space as a public interface to my network. Services will be provided internally from various ports at different IP addresses, but all accessible publicly through the same URL space. IIUC, this is "reverse proxying".
It is.
Regards
Henrik
Ok, this topic is now officially OT...
Quoted 5 lines
Better to use a HTTP proxy.
Quoted 1 line
What do you recommend?
Well, Squid obviously, but then I am perhaps somewhat biased..
Why do you recommend Squid? I am very interested.
I briefly checked out both, and this is what I concluded:
- Squid seems more complicated to set up. Even after reading the docs, I still have no idea how to configure this
- I asked how to do this on the mailing list, but I guess my question was too basic and nobody was interested in replying
- Squid can do LOTS of stuff, but all I want is a reverse proxy
- I already have an Apache installation and I know how to use reverse proxying
Despite this, I'm always interested in the "best" solution... I would indeed be very curious to know why you think Squid is the best choice.
Thank you for sharing!!
Quoted 11 lines · David Leangen
Ok, this topic is now officially OT...
Quoted 7 lines
Better to use a HTTP proxy.
Quoted 3 lines
What do you recommend?
Quoted 8 lines
Quoted 3 lines
Well, Squid obviously, but then I am perhaps somewhat biased..
Why do you recommend Squid? I am very interested.
Obvious ;-)
http://www.squid-cache.org/volunteers.html.
Quoted 6 lines
I briefly checked out both, and this is what I concluded:
- Squid seems more complicated to set up. Even after reading the docs, I still have no idea how to configure this.
http://www.squid-cache.org/Doc/FAQ/FAQ-15.html
Quoted 5 lines
- I asked how to do this on the mailing list, but I guess my question was too basic and nobody was interested in replying
patience,
Quoted 3 lines
- Squid can do LOTS of stuff, but all I want is a reverse proxy
http://www.squid-cache.org/Doc/FAQ/FAQ-20.html
Quoted 9 lines
- I already have an Apache installation and I know how to use reverse proxying
Despite this, I'm always interested in the "best" solution... I would indeed be very curious to know why you think Squid is the best choice.
My personal opinion is that.
I have using squid for three years ago in many environments chain proxy, reverse proxy, ssl proxy, filtering proxy... and i`m agree too with Henrik.
Thanks
Emilio C.