Skip to content

Instantly share code, notes, and snippets.

@Laszaro
Created December 1, 2013 06:09
Show Gist options
  • Save Laszaro/7729125 to your computer and use it in GitHub Desktop.
Save Laszaro/7729125 to your computer and use it in GitHub Desktop.
HTACCESS - Start site from subfolder
Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}/SUBFOLDER/$1 -f [NC]
RewriteRule ^([^/]+)$ /SUBFOLDER/$1 [L,QSA]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment