Created
July 31, 2017 10:57
-
-
Save DaveRandom/04734f7603ba8c0ef57e2ad9ac9dca5d to your computer and use it in GitHub Desktop.
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> | |
# DNS name or IP address that is used to access the server | |
ServerName sandbox.dev | |
# Declare docroot directory and permissions | |
DocumentRoot "C:\xampp\htdocs\sandbox\public" | |
<Directory "C:\xampp\htdocs\sandbox\public"> | |
# Allow any request | |
Allow from all | |
Require all granted | |
# Disable htaccess processing | |
AllowOverride none | |
</Directory> | |
# Route all requests to index.php | |
RewriteEngine on | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule . /index.php [END] | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment