Advertisement
wingman007

.htaccess for ZF2 with SetEnv for ZF2_PATH

Jul 18th, 2013
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. SetEnv APPLICATION_ENV development
  2. SetEnv ZF2_PATH /xampp/php/pear/ZF2
  3. RewriteEngine On
  4. RewriteCond %{REQUEST_FILENAME} -s [OR]
  5. RewriteCond %{REQUEST_FILENAME} -l [OR]
  6. RewriteCond %{REQUEST_FILENAME} -d
  7. RewriteRule ^.*$ - [NC,L]
  8. RewriteRule ^.*$ index.php [NC,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement