Skip to content

Instantly share code, notes, and snippets.

@resourcemode
Created August 14, 2014 08:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save resourcemode/2bc6cb286a63eefe5331 to your computer and use it in GitHub Desktop.
Save resourcemode/2bc6cb286a63eefe5331 to your computer and use it in GitHub Desktop.
apigility apache vhost config
# apigility.com
Listen 127.0.0.1:9271
NameVirtualHost 127.0.0.1:9271
<VirtualHost 127.0.0.1:9271>
DocumentRoot "D:\EasyPHP\data\localweb\projects\apigility.com\www"
RewriteEngine off
<Location />
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ /public/index.php [NC,L]
</Location>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment