Browse Source

:bug: Fix weird zf-tool `create project` produces mangled characters

Gerard Roche 11 years ago
parent
commit
d75b930534
1 changed files with 1 additions and 2 deletions
  1. 1 2
      php-zend-framework1/public/.htaccess

+ 1 - 2
php-zend-framework1/public/.htaccess

@@ -1,4 +1,3 @@
-
 RewriteEngine On
 # The following rule tells Apache that if the requested filename
 # exists, simply serve it.
@@ -12,6 +11,6 @@ RewriteRule ^.*$ - [NC,L]
 # allow proper resolution of the index.php file; it will work
 # in non-aliased environments as well, providing a safe, one-size
 # fits all solution.
-RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::$
+RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::\2$
 RewriteRule ^(.*)$ - [E=BASE:%1]
 RewriteRule ^(.*)$ %{ENV:BASE}index.php [NC,L]