Re: URL "simplification"

2011-10-13 Thread Léa Massiot
Hello and thank you for your answers. I'm sorry for my late answer but I couldn't work on that issue before. Here is what I've done in the end: (I used this document in particular: http://tomcat.apache.org/tomcat-7.0-doc/proxy-howto.html) 1) Here is what I added to "httpd.conf" (Apache configura

Re: URL "simplification"

2011-10-10 Thread Darryl Lewis
Windows IP Firewall (WIPFW) is an open source project that claims to give similar features to iptables, but I've not used it. On 11/10/11 1:04 AM, "Léa Massiot" wrote: > >Thank you all for your answers. > >@Mark >Yes indeed fundamentally three operations... >1. I guess you can only have one ROO

Re: URL "simplification"

2011-10-10 Thread Casper Wandahl Schmidt
Hi Léa Here are some links I've used to setup tomcat and apache together http://tomcat.apache.org/connectors-doc/reference/apache.html http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html http://sysadminlinux.com/cms/en/node/32 (although it's for linux most should be good for win

Re: URL "simplification"

2011-10-10 Thread Francis GALIEGUE
On Mon, Oct 10, 2011 at 16:04, Léa Massiot wrote: [...] > > I'm interested in Francis' proposal... please can you give me more details? > Thanks! I will but in private, this is getting offtopic ;) -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552

Re: URL "simplification"

2011-10-10 Thread Léa Massiot
Thank you all for your answers. @Mark Yes indeed fundamentally three operations... 1. I guess you can only have one ROOT WebApp not several... It's not ok for me, I have several WebApps I want to treat that way. @Francis Francis wrote: > Apache and configure a vhost with proxying That looks pr

Re: URL "simplification"

2011-10-10 Thread Francis GALIEGUE
On Mon, Oct 10, 2011 at 14:01, Mark Thomas wrote: [...] >> >> C (and C++ and many others) has seteuid() and fork(), Java doesn't. >> Apache starts as root, binds to port 80 (therefore opens an fd on it), >> then forks. The fd is inherited by the child, which calls seteuid(). >> Then the parent exi

Re: URL "simplification"

2011-10-10 Thread Mark Thomas
On 10/10/2011 12:59, Francis GALIEGUE wrote: > On Mon, Oct 10, 2011 at 13:50, Darryl Lewis wrote: >> Something I've always wondered about, but never figured out, is how does >> apache run as 'apache user' or 'nobody' and work on a port below 1024, but >> Tomcat can't? >> Anyone got a simple explan

Re: URL "simplification"

2011-10-10 Thread Ronald Klop (Mailing List)
>> - Presently, to access my WebApp first page, I have to type in the >>following >> URL in a browser: >> http://hostname-or-ip:8080/my-webapp/ >> - Instead, I wish I could type in a URL such as: >> http://my-webapp/ >> Is it possible? >> How? &g

Re: URL "simplification"

2011-10-10 Thread Francis GALIEGUE
On Mon, Oct 10, 2011 at 13:50, Darryl Lewis wrote: > Something I've always wondered about, but never figured out, is how does > apache run as 'apache user' or 'nobody' and work on a port below 1024, but > Tomcat can't? > Anyone got a simple explanation? > C (and C++ and many others) has seteuid()

Re: URL "simplification"

2011-10-10 Thread Darryl Lewis
ebapp/ >> - Instead, I wish I could type in a URL such as: >> http://my-webapp/ >> Is it possible? >> How? >> >> And by the way, I don't know what's the name of such an operation. I >>used >> the expression "URL simplification"..

Re: URL "simplification"

2011-10-10 Thread Mark Thomas
I could type in a URL such as: > http://my-webapp/ > Is it possible? > How? > > And by the way, I don't know what's the name of such an operation. I used > the expression "URL simplification"... > > Thank you for pointing me in the right direction! Ther

Re: URL "simplification"

2011-10-10 Thread Francis GALIEGUE
[...] > > What I use: > -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080 > You're forgetting "-t nat" before -A. REDIRECT is a target only valid from the nat table. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team

Re: URL "simplification"

2011-10-10 Thread Marvin Addison
> You can also do it with iptables, converting any port 80 request to 8080. > The user types in http://mywebapp but gets redirected to > http://hostname:8080 +1 What I use: -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080 M -

Re: URL "simplification"

2011-10-10 Thread Darryl Lewis
You can also do it with iptables, converting any port 80 request to 8080. The user types in http://mywebapp but gets redirected to http://hostname:8080 On 10/10/11 8:01 PM, "Francis GALIEGUE" wrote: >On Mon, Oct 10, 2011 at 10:56, Léa Massiot wrote: >> >> Hello, >> >> Thank you for reading my

Re: URL "simplification"

2011-10-10 Thread Francis GALIEGUE
On Mon, Oct 10, 2011 at 10:56, Léa Massiot wrote: > > Hello, > > Thank you for reading my post. Here is my question: > > - Presently, to access my WebApp first page, I have to type in the following > URL in a browser: > http://hostname-or-ip:8080/my-webapp/ > - Instead, I wish I could type in a UR

URL "simplification"

2011-10-10 Thread Léa Massiot
, I don't know what's the name of such an operation. I used the expression "URL simplification"... Thank you for pointing me in the right direction! Best regards, -- Léa -- View this message in context: http://old.nabble.com/URL-%22simplification%22-tp32622817p32622817.html