2012-10-05 23 views

回答

1

是的,wordpress可以在沒有修改的情況下在Resin 4.0.x上運行。儘管,您可能會在WEB-INF/resin-web.xml中爲「漂亮」的URL映射需要一些重寫規則。

我們看起來像:

<web-app xmlns="http://caucho.com/ns/resin" 
     xmlns:resin="urn:java:com.caucho.resin"> 

    <!-- pass through all actual files to the standard dispatch --> 
    <resin:Dispatch regexp="\."> 
    <resin:IfFileExists/> 
    </resin:Dispatch> 

    <!-- pass through all php files to the standard dispatch --> 
    <resin:Dispatch regexp="\.php"/> 

    <!-- rewrite everything else to be /index.php/foo... --> 
    <resin:Forward regexp="^" target="/index.php"/> 

</web-app> 
+0

哇,太感謝你了。 – PKHunter

相關問題