Quercus: DokuWiki

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
 
(2 intermediate revisions by one user not shown)
Line 6: Line 6:
  
 
=Steps=
 
=Steps=
==Step 1: Download MySQL JDBC driver==
 
Download MySQL connector/J at http://www.mysql.com/products/connector/j/ into the <code>lib/</code> directory of your resin home directory.
 
  
==Step 2: Copy over web.xml==
+
==Step 1: Copy web.xml over==
 
Copy <code>web.xml</code> into the <code>webapps/ROOT/WEB-INF/</code> directory of your resin home directory.
 
Copy <code>web.xml</code> into the <code>webapps/ROOT/WEB-INF/</code> directory of your resin home directory.
  
Line 16: Line 14:
 
   &lt;web-app xmlns="http://caucho.com/ns/resin">
 
   &lt;web-app xmlns="http://caucho.com/ns/resin">
 
     &lt;servlet-mapping url-pattern="*.php"
 
     &lt;servlet-mapping url-pattern="*.php"
                  servlet-class="com.caucho.quercus.servlet.QuercusServlet">
+
              servlet-class="com.caucho.quercus.servlet.QuercusServlet">
       &lt;init compile="false" script-encoding="iso-8859-1" />
+
       &lt;init compile="false" />
 
     &lt;/servlet-mapping>
 
     &lt;/servlet-mapping>
 
 
    &lt;database>
 
      &lt;jndi-name>jdbc/mysql&lt;/jndi-name>
 
      &lt;driver>
 
        &lt;type>com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource&lt;/type>
 
        &lt;url>jdbc:mysql://localhost:3306&lt;/url>
 
    &lt;/driver>
 
    &lt;/database>
 
 
   &lt;/web-app>
 
   &lt;/web-app>
 
</code>
 
</code>
  
==Step 3: Download DokuWiki==
+
==Step 2: Install DokuWiki==
Download DokuWiki and follow DokuWiki's installation steps.
+
Download DokuWik into the <code>webapps/ROOT/</code> directory of your resin home directory and follow DokuWik's installation steps.

Latest revision as of 18:01, 29 August 2006


Contents

[edit] DokuWiki running on Quercus

This page details the steps required to get Doku-Wiki (2006-03-09b) up and running on Resin 3.1.0 and newer.

[edit] Steps

[edit] Step 1: Copy web.xml over

Copy web.xml into the webapps/ROOT/WEB-INF/ directory of your resin home directory.

[edit] web.xml

 <web-app xmlns="http://caucho.com/ns/resin">
   <servlet-mapping url-pattern="*.php"
             servlet-class="com.caucho.quercus.servlet.QuercusServlet">
     <init compile="false" />
   </servlet-mapping>
 </web-app>

[edit] Step 2: Install DokuWiki

Download DokuWik into the webapps/ROOT/ directory of your resin home directory and follow DokuWik's installation steps.

Personal tools