Yes, that sounds like a good idea.
For now I have tried something similar that has only one drawback - it is
"visible" from outside.
Because I didn't want to mess with alfresco endpoints, I have moved alfresco to
regular webapps folder,
Share site is under its own host.
Therefore Share site works directly like this share.domain.com
And for Alfresco I use alfresco.domain.com with auto rewrite to
alfresco.domain.com/alfresco
That is rather fine with me.
Locally Alfresco is available under regular address localhost:8080/alfresco and
Share application can access all the endpoints without any modifications.
Inside HTTPD virtual host for Alfresco I have added:
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/alfresco/
RewriteRule ^/. http://alfresco.tessel.pl/alfresco/ [R]
Once more - big thanks for your support
Regards
Maciej
-----Original Message-----
From: Caldarale, Charles R [mailto:[email protected]]
Sent: Monday, October 12, 2009 3:19 PM
To: Tomcat Users List
Subject: RE: Application gets started twice
> From: Maciej Zabielski [mailto:[email protected]]
> Subject: RE: Application gets started twice
>
> My last problem is the possibility to make the localhost:8080 (used for
> mod_jk) also available under localhost:8080/app (as internal endpoints)
> Is there any legal/simple way to accomplish this?
Since you want this to be effective on port 8080 (httpd not involved), you can
use the rewrite filter:
http://tuckey.org/urlrewrite/
Alternatively, you could install a dummy webapp at either ROOT or app that
simply forwards all requests to the correct one.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]