0

Wordpressに使用されているResin/Quercusに関するスレッドがいくつかあります。Quercusをインストールすると、Wordpressが.phpファイル拡張子などでそのまま機能することを確認したいだけです。そして、すべての通常のURL書き換えなどは、パーマリンクでも機能しますか?それとも、手動で追加の調整を行う必要がありますか?(http://caucho.com/resin-4.0/admin/http-rewrite.xtp)

ありがとう!

4

1 に答える 1

1

はい、wordpressはResin4.0.xで変更なしで動作します。ただし、「きれいな」URLマッピングのために、WEB-INF/resin-web.xmlにいくつかの書き換えルールが必要になる場合があります。

私たちのものは次のようになります:

<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>
于 2012-10-15T17:02:59.553 に答える