users@glassfish.java.net

Re: Glassfish production url

From: <Vince.Power_at_medavie.bluecross.ca>
Date: Wed, 6 Aug 2008 10:05:25 -0300

Try using mod_rewrite in conjunction with mod_proxy.

Documentation is available at http://httpd.apache.org/docs/2.2/rewrite/
with more links with examples at the bottom of the page.

Regards,
Vince




glassfish_at_javadesktop.org
08/06/2008 06:52 AM
Please respond to
users_at_glassfish.dev.java.net


To
users_at_glassfish.dev.java.net
cc

Subject
Glassfish production url






For my new project, we are using GlassFish as our application server. Our
IDE is eclipse. We have a web project and ejb project and both are part of
an enterprise project.

In our local we are accessing the url like
http://localhost:9080/<contextroot>/test.jsp. But in our production
environment we want something like http://localhost/test.jsp. We have some
php code which is already developed and we would like to use it. So I
understand that we need to integrate our GlassFish server with Apache.

Now my question is how can I access the GlassFish server url without
context root?
[Message sent by forum member 'albees' (albees)]

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net





-----------------------------------------------------------------------
This communication, including any attached documentation, is intended only for the person or entity to which it is addressed, and may contain confidential, personal, and/or privileged information. Any unauthorized disclosure, copying, or taking action on the contents is strictly prohibited. If you have received this message in error, please contact us immediately so we may correct our records. Please then delete or destroy the original transmission and any subsequent reply. Thank you.

La présente communication, y compris toute pièce qui y a été jointe, est destinée uniquement à la personne ou à l’entité à laquelle elle a été adressée, et contient des renseignements à caractère confidentiel et personnel. Toute diffusion ou reproduction non autorisée ou toute intervention entreprise relativement à son contenu est strictement interdite. Si vous avez reçu ce message par erreur, veuillez nous le signaler immédiatement afin que nous puissions effectuer la correction à nos dossiers. Veuillez par la suite supprimer ou détruire le contenu de la transmission originale ainsi que toute réponse ultérieure. Merci.
-----------------------------------------------------------------------