Created
July 23, 2014 17:11
-
-
Save kingharrison/2c716f8758dc2be2cb06 to your computer and use it in GitHub Desktop.
Code to insert on template while creating vhost on IBM i via Zend Server so that ZF2 framework is accessible
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine off | |
<Location /> | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} -s [OR] | |
RewriteCond %{REQUEST_FILENAME} -l [OR] | |
RewriteCond %{REQUEST_FILENAME} -d | |
RewriteRule ^.*$ - [NC,L] | |
RewriteRule ^.*$ /index.php [NC,L] | |
</Location> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment