Created
March 7, 2016 20:05
-
-
Save Vesely/d052a34c1e7fed3283e9 to your computer and use it in GitHub Desktop.
Htaccess snippet - Změní root adresář do podsložky www (užitečné pro všechny weby na Nette)
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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteRule ^$ /www/ [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_URI} !^/www/ | |
RewriteRule ^(.*)$ /www/$1 | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment