Author: jfrederic.clere(a)jboss.com
Date: 2007-08-29 09:38:08 -0400 (Wed, 29 Aug 2007)
New Revision: 63
Modified:
trunk/php/README
Log:
Add how it configure it.
Modified: trunk/php/README
===================================================================
--- trunk/php/README 2007-08-29 13:20:30 UTC (rev 62)
+++ trunk/php/README 2007-08-29 13:38:08 UTC (rev 63)
@@ -7,3 +7,33 @@
It is also possible to use it with jbossas-4.0.x just copy jbossweb-extras.jar
to jbossweb-tomcat55.sar.
+
+Use in server.xml:
++++
+<Listener className="org.jboss.web.php.LifecycleListener"/>
+Use in web.xml:
++++
+ <servlet>
+ <servlet-name>php</servlet-name>
+ <servlet-class>org.jboss.web.php.Handler</servlet-class>
+ <init-param>
+ <param-name>debug</param-name>
+ <param-value>0</param-value>
+ </init-param>
+ <load-on-startup>6</load-on-startup>
+ </servlet>
+ <servlet>
+ <servlet-name>phps</servlet-name>
+ <servlet-class>org.jboss.web.php.Highlight</servlet-class>
+ </servlet>
+
+
+ <servlet-mapping>
+ <servlet-name>php</servlet-name>
+ <url-pattern>*.php</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>phps</servlet-name>
+ <url-pattern>*.phps</url-pattern>
+ </servlet-mapping>
++++
Show replies by date