Created
February 2, 2017 10:37
-
-
Save mynameislau/59ec0bf069f086d810d8fed5560373b0 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 *:8080> | |
ServerName localhost | |
ServerAlias truc.127.0.0.1.nip.io | |
ServerAlias truc.*.127.0.0.1.nip.io | |
ServerAlias *.truc.127.0.0.1.nip.io | |
DocumentRoot "${WWW_ROOT}" | |
DirectoryIndex index.php | |
ErrorLog ${LOG_ROOT}/truc-error.log | |
CustomLog ${LOG_ROOT}/truc-access.log combined | |
RewriteEngine on | |
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f | |
RewriteRule \.(gif|jpe?g|png|bmp) /sites/all/themes/truc/images/blank.png [NC,L] | |
RewriteRule \.(pdf) /sites/all/themes/truc/images/blank.pdf [NC,L] | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment