Well-Known Member
Mar 27, 2003
I just started having troubles with mod-rewrite on one of my customers sites. I'm not sure what is happening. I have a rewrite condition to force www in his url:

# force www IN URL
rewriteCond %{HTTP_HOST} !^ [NC]
rewriteRule ^(.*)$$1 [R=301,L]
# END force www IN URL

It seems to work ok for most things like if you go to it redirects to

However, some pages don't work properly. For example if someone types in:

it brings up a page can not be found error?

Also, if he tries to redirect to his secure server:


It goes into a redirect loop, and the page fails?

All this used to work previously, but we moved him to a new server running cpanel WHM 11.11.0 cPanel 11.15.0-C17588 and it started acting this way?

Anyone have any ideas about this?