$ tail /etc/httpd/conf/httpd.conf
LoadModule caucho_module /usr/lib/httpd/modules/mod_caucho.so

ResinConfigServer localhost 6800
CauchoConfigCacheDirectory /tmp
CauchoStatus yes


in resin.xml

<host id="" root-directory=".">
  <web-app id="/" root-directory="webapps/ROOT"/>
  <web-app id="/resin-admin" root-directory="${resin.root}/doc/admin">
    <prologue>
      <resin:set var="resin_admin_external" value="false"/>
      <resin:set var="resin_admin_insecure" value="true"/>
    </prologue>
  </web-app>
  <web-app id="/resin-doc" root-directory="${resin.root}/doc/resin-doc"/>
</host>

<host id="foo.bar.com">
  <root-directory>/home/foobar/www</root-directory>
  <web-app id="/" root-directory=".">
    <jsp><validate-taglib-schema>false</validate-taglib-schema></jsp>
  </web-app>
</host>

When I try to connect to http://foo.bar.com/index.jsp , the JSPs are
not compiled , the jsp source is leaked.
I have to connect to http://foo.bar.com:8080/index.jsp to see it compiled.

There is a web.xml (web-app version="2.4") in /home/foobar/www/WEB-INF ,
and all jsps are in /home/foobar/www , all servlets are in
/home/foobar/www/WEB-INF/classes

The configuration works in 3.0.x and 3.1.x (but because of this bug :
http://bugs.caucho.com/view.php?id=2862 , I cannot stay with 3.1.x )


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

Reply via email to