users@glassfish.java.net

Nicer URL for Glassfish

From: <glassfish_at_javadesktop.org>
Date: Wed, 06 Feb 2008 11:17:14 PST

Hello,

I suppose it is a newbie question, but I haven't not found any answer on the web: is it possible to remove the 8080 in the address ?

More precisely, I have a server with apache and glassfish. My webapp is accessible through http://myserver:8080/webapp. I would like it to be accessible through http://myserver/.

I followed a tutorial and set my apache server like this:

ProxyPreserveHost on
RewriteEngine on
RewriteRule ^/webapp$ /webapp/ [R,L]
RewriteRule ^/(.*) http://localhost:8080/webapp/$1 [P,L]

When I try to access my webapp, I get the first page, with everything but the buttons and the forms... What's happening ?

Thank you

Tonio
[Message sent by forum member 'tonioab49' (tonioab49)]

http://forums.java.net/jive/thread.jspa?messageID=257720