In order to use mod_rewrite on my server, two conditions have to be met:
  1. httpd-fat has to be enabled.
  2. I have to use port 81.
Now, the first condition I have set up and is working. However, I'm unsure as to how to use port 81 on my webserver. I was given this piece of code to place in the .htaccess file, but it doesn't appear to be working correctly. If anyone can give me insight, tips, tricks, or explain the coding below, I will be very appreciative.
Code:
RewriteCond %{HTTP_HOST}	!^fully\.qualified\.domain\.name [NC]
RewriteCond %{HTTP_HOST}	!^$
RewriteCond %{SERVER_PORT}	!^81$
RewriteRule ^/(.*)		(Link: http://fully.qualified.domain.name:%{SERVER_PORT}/$1)http://fully.qualified.domain.name:%{SERVER_PORT}/$1 [L,R]
RewriteCond %{HTTP_HOST}	!^fully\.qualified\.domain\.name [NC]
RewriteCond %{HTTP_HOST}	!^$
RewriteRule ^/(.*)		(Link: http://fully.qualified.domain.name/$1)http://fully.qualified.domain.name/$1 [L,R]
Thanks.

-Colin