Return to Snippet

Revision: 42405
at March 4, 2011 09:03 by arnekolja


Initial Code
RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [NC,OR]
RewriteCond %{HTTP_HOST} ^domain\.com$
RewriteCond %{REQUEST_URI} !subdir/
RewriteRule (.*) /subdir/$1 [L]

Initial URL

                                

Initial Description

                                

Initial Title
.htaccess, point root to sub directory

Initial Tags
url

Initial Language
Apache