Hi all,

I need to change a server listening on port 80 to a new port 2000.

The new url will be :

http://myhost:2000

The problem is that the "ns_returnredirect" directive suppress the ":2000"
from the url, so it is always redirected to http://myhost !

I am using AS4.0.10 on Fedora Core 4.

I use virtual hosting, and have the following config :

-------------------------------------------------
ns_section ns/modules
ns_param nssock nssock.so

ns_section ns/module/nssock
ns_param port           2000
ns_param hostname       "myhost:2000"
ns_param Location       "http://myhost:2000";
ns_param address        192.168.0.1
ns_param defaultserver  myhost

ns_section ns/module/nssock/servers
ns_param myhost myhost
ns_param myhost2 myhost2
ns_param myhost 192.168.0.1

-------------------------------------------------

What's wrong and how can I correct the problem.


Regards / Cordialement

====================
Jean-Fabrice Rabaute
CORE SERVICES :: Software/Web development & Consulting services

http://www.core-services.fr - {Enjoy the future today}
http://www.debugbar.com : The most advanced WEB development tool for
Internet Explorer

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.3/107 - Release Date: 20/09/2005


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to