Last active
January 31, 2018 04:22
-
-
Save aonrobot/85b271cef60407745e58589a81402be9 to your computer and use it in GitHub Desktop.
httpd-vhosts.conf for lumen in subfolder
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
<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