Why is rewrite rule adding the port

Giganews Newsgroups
Subject: Why is rewrite rule adding the port
Posted by:  laredotornado (laredotorna…@zipmail.com)
Date: Thu, 17 Sep 2009

Hi,

I have this configuration in my Apache 2 config file:

<VirtualHost *:6910>

    RewriteRule ^/RE$ /RE/ [R,L]

</VirtualHost>

What I want is that when I type in "https://mydomain.com/RE" that the
URL be rewritten as "https://mydomain.com/RE/" but instead what is
happening is that the URL is being rewritten as "https://mydomain.com:
6910/RE/".

How can I change my rewrite rule so that the port is not added?

Thanks, - Dave

Replies