have been running Resin 4.0.7 behind Apache 2.2. I recently deployed a war 
file (abc.war) and Apache gives me a 404: "The requested URL /abc was not found 
on this server." My ROOT application mostly works fine except for my WordPress 
blog which has the same issue as this abc.war. I explicitly configured 
httpd.conf to add a mapping for my blog ("/blog/*") and my war ("/abc/*") but 
Apache will only server subfolders explicitly mapped in the httpd.conf file 
(e.g. the * does not seem to indicate serve all file and subfolders). I have 
worked around this by configuring several "Location" tags in httpd.conf as 
demonstrated below.

Is this an issue with my configuration or Resin? I am running on Debian 5 
x86_64, Java 6, Resin 4.0.7.

<<<<< httpd.conf >>>>>
#
# mod_caucho Resin Configuration
#

LoadModule caucho_module /usr/lib/apache2/modules/mod_caucho.so

ResinConfigServer localhost 6800
CauchoConfigCacheDirectory /tmp
#CauchoStatus yes

<Location /abc/*>
  SetHandler caucho-request
</Location>
<Location /abc/*/*>
  SetHandler caucho-request
</Location>
<Location /abc/*/*/*>
  SetHandler caucho-request
</Location>
<Location /abc/*/*/*/*>
  SetHandler caucho-request
</Location>

<Location /blog/*>
  SetHandler caucho-request
</Location>
<Location /blog/p/*/*/*/*>
  SetHandler caucho-request
</Location>
<Location /blog/p/*/*/*>
  SetHandler caucho-request
</Location>
<Location /blog/p/*/*>
  SetHandler caucho-request
</Location>
<Location /blog/p/*>
  SetHandler caucho-request
</Location>
<Location /blog/feed/*>
  SetHandler caucho-request
</Location>
<Location /blog/comments/feed/*>
  SetHandler caucho-request
</Location>



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

Reply via email to