2
0
فهرست منبع

Merge r25180 to 1.12 release branch

Adds suggestions for .htaccess when deploying to a PaaS platform.



git-svn-id: http://framework.zend.com/svn/framework/standard/branches/release-1.12@25181 44c647ce-9c0f-0410-b52a-842ac1e357ba
matthew 13 سال پیش
والد
کامیت
fd9e3473b4
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 5 0
      library/Zend/Tool/Project/Context/Zf/HtaccessFile.php

+ 5 - 0
library/Zend/Tool/Project/Context/Zf/HtaccessFile.php

@@ -69,6 +69,11 @@ RewriteCond %{REQUEST_FILENAME} -l [OR]
 RewriteCond %{REQUEST_FILENAME} -d
 RewriteCond %{REQUEST_FILENAME} -d
 RewriteRule ^.*$ - [NC,L]
 RewriteRule ^.*$ - [NC,L]
 RewriteRule ^.*$ index.php [NC,L]
 RewriteRule ^.*$ index.php [NC,L]
+# If you are using phpcloud.com or other cloud PaaS solutions, you may need to
+# Remove the line immediately above this comment, and uncomment the following:
+# RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::\2$
+# RewriteRule ^(.*)$ - [E=BASE:%1]
+# RewriteRule ^(.*)$ %{ENV:BASE}index.php [NC,L]
 
 
 EOS;
 EOS;
         return $output;
         return $output;