Created
September 7, 2018 15:55
-
-
Save jackwilsdon/6c4214ae88a6b9d344d9fc05feab8c64 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
<Directory "/var/www/vhosts/*"> | |
AllowOverride All | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule /var/www/vhosts/.*?/(.*) /index.php/$1 [L] | |
Options Indexes FollowSymLinks | |
Require all granted | |
</Directory> | |
<VirtualHost *> | |
ServerAlias *.jack | |
VirtualDocumentRoot /var/www/vhosts/%-2+ | |
LogLevel debug | |
<IfModule mod_headers.c> | |
<FilesMatch "\.(html?|js|json|css|map)$"> | |
Header unset ETag | |
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" | |
Header set Pragma "no-cache" | |
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT" | |
Header set X-Outgoing-Says "Don't worry! This file isn't cached :)" | |
</FilesMatch> | |
</IfModule> | |
<IfModule mod_env.c> | |
SetEnv WSENVIRONMENT development | |
</IfModule> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment