Just a small follow-up. By using sections like this in a <host> block in
resin.conf, I can convince mod_caucho to let Apache respond for some
URLs instead of Resin:
<web-app id='/multimedia' document-directory='/data/tmp/op/multimedia'>
But why do I have to do this? I wish that Alias and RewriteRules in
Apache could override mod_caucho. Is there a better way to do this?
On Wed, Aug 27, 2008 at 01:02:14PM +0200, Anders Nordby wrote:
> I am using Apache in front of Resin with mod_cacho to give requests to
> Resin. My problem is that Resin seems to answer for all requests, making
> Apache ignore whatever Alias/RewriteRules I set up. This may be related
> to the fact that we are having a "ROOT" web-app (by using context-root
> "/" in application.xml in a .ear file). I can not easily define all the
> URLs served by Resin, as there are many (so I don't have a list of apps
> to be served by Resin in the Apache config), but I do in some cases
> really want to control what happens in Apache. How can I do that? I
> tried changing the order of when mod_caucho is loaded relative to
> mod_rewrite and mod_alias, but it did not help unfortunately.
> Any ideas/hints?
> PS: I'm using Resin 3.0.25 and Apache 2.2.3.
> Anders Nordby
> Aftenposten AS, UNIX/nettverksavd. (IT)
> Postboks 1, 0051 Oslo
> Epost: [EMAIL PROTECTED], [EMAIL PROTECTED]
> Tlf.: +47 22864083
> Fax: +47 22864074
> resin-interest mailing list
Aftenposten AS, UNIX/nettverksavd. (IT)
Postboks 1, 0051 Oslo
Epost: [EMAIL PROTECTED], [EMAIL PROTECTED]
Tlf.: +47 22864083
Fax: +47 22864074
resin-interest mailing list