Skip to content

Instantly share code, notes, and snippets.

@aonrobot
Last active January 31, 2018 04:22
Show Gist options
  • Save aonrobot/85b271cef60407745e58589a81402be9 to your computer and use it in GitHub Desktop.
Save aonrobot/85b271cef60407745e58589a81402be9 to your computer and use it in GitHub Desktop.
httpd-vhosts.conf for lumen in subfolder
<VirtualHost *:80>
Alias /icard "C:/xampp/htdocs/icard/public"
# Rewrite all requests in /icard to server index.php
<Location /icard>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ /icard/index.php [L]
</Location>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment