I’ve been using such redirection in apache
RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC]
RewriteRule ^/*(.*)$ http://www.example.com/$1 [R=301,NC]
And it wsa fine till now. I need a test site to be set up on a 8080 port number. How to exclude 8080 from that redirection. So http://www.example.com:8080 would not redirect to http://www.example.com
thanks
from:
Administration Over SSL