I want to redirect a my site url to a directory on the server.. I ftp the site to a folder: html/myfiles... (not directly in the root, so that I can place other files there htaccess pswds etc) my host says I should use this code:
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %\{HTTP_HOST\} site.com
RewriteCond %\{REQUEST_URI\} !^/html/?
RewriteRule ^(.*)$ html/$1 [L]
But when I place the htaccess file in the root (that is the area when I arrive when I ftp?) I get a internal server error. (site.com is an example)
I tried mod alias aswell... It shouldn't be that hard?