Forum Moderators: phranque

Message Too Old, No Replies

Redirect port 80 to port 8222

         

xadamz23

2:59 pm on Sep 6, 2006 (gmt 0)

10+ Year Member



Hello,

I am running VMware Server and have installed the Management Interface. By default the interface is accessed on port 8222. However, I dont want my users to have to specify a port in their web browser.

I need the following redirection to happen:

[vm1...] ----> [vm1:8222...]

I have scoured the internet and tried changing the httpd.conf file, but the redirection never works.

What can I do to get the redirection?

jdMorgan

8:39 pm on Sep 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You'll need to use mod_rewrite, and check the requested port using RewriteCond %{SERVER_PORT}. If it is 80 or blank, then redirect to port 8222.

For more information, see the documents cited in our forum charter [webmasterworld.com] and the tutorials in the Apache forum section of the WebmasterWorld library [webmasterworld.com].

Jim