Forum Moderators: phranque
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.yoursite.com [NC]
RewriteRule ^(.*)$ [yoursite.com...] [L,R=301]
This appears to work for my http directory, but not for the cgi-bin. It just occurs to me that the .htaccess file is in the httpdocs directory. I tried to create in in root but it appears I don't have permissions to do this. Could that be the problem?
Suggestions?