Forum Moderators: phranque
RewriteEngine on
RewriteCond %{HTTP_HOST} ^DOMAIN\.com
RewriteRule (.*) http://www.DOMAIN.com/$1 [R=301,L]
This messes up the Awstats on my shared host because it can nolonger find the config file. It seems to construct the filename from the request URI.
So, how do I exclude just
[DOMAIN.com...]
from the rewrite.
This seems like it should be easy and have multiple solutions, but I can't get it to work.