On 16-11-2009 at 10:13, Stefanie Poeschl wrote:
> I've got the following problem with a stripes application:
> The application is running on a JBoss 5 under the context name "myApp". Its
> working fine when calling the jboss directly like that:
> http://localhost:8080/myApp/MyAction.action
> Now I've installed an Apache Webserver and configured it like that:
> ProxyPass /myApp ajp://localhost:8009/myApp/
> This is also working like a charm.
>
> But now my problem:
> I want to install "myApp" on the Production-Server and run it under a
> domain e.g. www.myApp.com (NOT www.myApp.com/myApp)
The problem here is not Stripes, but your proxy.
If you're using Apache (and from your syntax I'm assuming you do), you can
make it work correctly like this:
<Location /addressBook>
ProxyPass http://localhost:8080/myApp
ProxyPassReverse http://localhost:8080/myApp
SetOutputFilter proxy-html
ProxyHTMLURLMap / /myApp/
</Location>
At least this is how I set it up in a virtual host.
Oscar
--
,-_
/() ) Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/
(__ (
=/ () DRM "manages access" in the same way that a jail "manages freedom".
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users