title: URL redirection in Apache2
body: <p>Trying to redirect a URL on one webserver on my LAN to another webserver on my LAN. I assumed that all I needed was a .htaccess file in my /var/www directory whose contents are the following 3 lines only:</p>
  
  <p>Options +FollowSymLinks</p>
  
  <p>RewriteEngine on</p>
  
  <p>RewriteMatch newsite\.level2\.level1\.com <a href="http://192.168.0.250:8080" rel="nofollow noreferrer">http://192.168.0.250:8080</a></p>
  
  <p>Also I created a symbolic link in folder /etc/apache2/mods-enabled to /etc/apache2/mods-available/rewrite.load</p>
  
  <p>1st: When I enter "newsite.level2.level1.com" in browser I end up at "level2.level1.com"
  2nd: Does RewriteMatch support ports appended to the new URL</p>
  
  <p>Should mention that level2.level1.com is thru DynDns.org as I have Comcast and the function to allow *.level2.level1.com is enabled</p>
  
  <p>Thanks for looking,
  Rich</p>