Quercus: DokuWiki

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
(Step 3: Download DokuWiki)
(web.xml)
Line 23: Line 23:
 
       <jndi-name>jdbc/mysql</jndi-name>
 
       <jndi-name>jdbc/mysql</jndi-name>
 
       <driver>
 
       <driver>
         <type>com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource</type>
+
         <type>
 +
          com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
 +
        </type>
 
         <url>jdbc:mysql://localhost:3306</url>
 
         <url>jdbc:mysql://localhost:3306</url>
 
     </driver>
 
     </driver>

Revision as of 17:55, 29 August 2006


Contents

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.

Steps

Step 1: Download MySQL JDBC driver

Download MySQL connector/J at http://www.mysql.com/products/connector/j/ into the lib/ directory of your resin home directory.

Step 2: Copy over web.xml

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

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" script-encoding="iso-8859-1" />
   </servlet-mapping>
 
   <database>
     <jndi-name>jdbc/mysql</jndi-name>
     <driver>
       <type>
         com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
       </type>
       <url>jdbc:mysql://localhost:3306</url>
    </driver>
   </database>
 </web-app>

Step 3: Install DokuWiki

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

Personal tools