On Apr 20, 2008, at 8:30 AM, Charles Lyons wrote:

>> /caucho-status would show the current mapping in mod_caucho.  That
>> would be the place to look.
>
> At the moment I've got the entry "/^/?(index.html)?$" under the url- 
> pattern
> on /caucho-status. My regexp was "^/?(index.html)?$" so I'm not sure  
> why
> the extra / was inserted.

It's related to the fact that mod_caucho doesn't understand regexps.   
So it's interpreting the regexp as a url-pattern.  (Which doesn't  
actually matter in this case because you've got a plugin_match below.)

> Resin is the server reporting the 404 (rather than Apache), so  
> mod_caucho
> is doing its job correctly, just Resin is refusing to serve those  
> mappings
> sometimes, with no errors in the logs.

Thanks.  I've updated the bug report.  It sounds like it's a Resin- 
specific issue, not related to mod_caucho (which is good since it  
should make debugging and testing easier.)

-- Scott

>
>> Since mod_caucho doesn't understand url-regexp, how are you telling
>> mod_caucho that your pages should be handled by Resin?
>
> Using:
>
> <servlet-mapping url-pattern="*" servlet-name="plugin_match" />
>
> I also set my default host to have servlet-name="plugin_ignore" so  
> only
> explicitly enabled web-apps are served by Resin (otherwise I was  
> getting
> domains being served by Resin rather than Apache and I didn't want to
> enable mod_caucho for each domain in Apache as well as updating Resin
> config).
>
> Charles.
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to