|
|
@@ -1,6 +1,6 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<!-- Reviewed: no -->
|
|
|
-<!-- EN-Revision: 18140 -->
|
|
|
+<!-- EN-Revision: 18427 -->
|
|
|
<sect1 id="zend.controller.router" xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
|
<title>標準のルータ</title>
|
|
|
<sect2 id="zend.controller.router.introduction">
|
|
|
@@ -154,22 +154,22 @@ $router->addRoute('user',
|
|
|
|
|
|
<itemizedlist mark="opencircle">
|
|
|
<listitem>
|
|
|
- <para><xref linkend="zend.controller.router.routes.standard" /></para>
|
|
|
+ <para><link linkend="zend.controller.router.routes.standard" /></para>
|
|
|
</listitem>
|
|
|
<listitem>
|
|
|
- <para><xref linkend="zend.controller.router.routes.static" /></para>
|
|
|
+ <para><link linkend="zend.controller.router.routes.static" /></para>
|
|
|
</listitem>
|
|
|
<listitem>
|
|
|
- <para><xref linkend="zend.controller.router.routes.regex" /></para>
|
|
|
+ <para><link linkend="zend.controller.router.routes.regex" /></para>
|
|
|
</listitem>
|
|
|
<listitem>
|
|
|
- <para><xref linkend="zend.controller.router.routes.hostname" /></para>
|
|
|
+ <para><link linkend="zend.controller.router.routes.hostname" /></para>
|
|
|
</listitem>
|
|
|
<listitem>
|
|
|
- <para><xref linkend="zend.controller.router.routes.chain" /></para>
|
|
|
+ <para><link linkend="zend.controller.router.routes.chain" /></para>
|
|
|
</listitem>
|
|
|
<listitem>
|
|
|
- <para><xref linkend="zend.controller.router.default-routes" /> *</para>
|
|
|
+ <para><link linkend="zend.controller.router.default-routes" /> *</para>
|
|
|
</listitem>
|
|
|
</itemizedlist>
|
|
|
|
|
|
@@ -346,9 +346,9 @@ $router->removeDefaultRoutes();
|
|
|
|
|
|
<para>
|
|
|
Rewrite ルータはサブディレクトリ
|
|
|
- (例. <filename>http://domain.com/~user/application-root/</filename>)
|
|
|
+ (例. <filename>http://domain.com/user/application-root/</filename>)
|
|
|
内でも使用可能です。この場合、アプリケーションのベース <acronym>URL</acronym>
|
|
|
- (<filename>/~user/application-root</filename>) の自動検出が
|
|
|
+ (<filename>/user/application-root</filename>) の自動検出が
|
|
|
<classname>Zend_Controller_Request_Http</classname> によって行われ、適切に使用されます。
|
|
|
</para>
|
|
|
|
|
|
@@ -356,7 +356,7 @@ $router->removeDefaultRoutes();
|
|
|
ベース <acronym>URL</acronym> の検出に失敗する場合は、
|
|
|
<classname>Zend_Controller_Request_Http</classname> のメソッド <methodname>setBaseUrl()</methodname>
|
|
|
を使用してベースパスを上書き指定できます
|
|
|
- (<xref linkend="zend.controller.request.http.baseurl" /> を参照ください)。
|
|
|
+ (<link linkend="zend.controller.request.http.baseurl" /> を参照ください)。
|
|
|
</para>
|
|
|
|
|
|
<programlisting language="php"><![CDATA[
|