Skip to content

Instantly share code, notes, and snippets.

@kingharrison
Created July 23, 2014 17:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kingharrison/2c716f8758dc2be2cb06 to your computer and use it in GitHub Desktop.
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
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