I've asked a friend. If you're using Linux (and as you said you were using Apache I think so) you have to do the following:

iptables -t nat -A PREROUTING -i eth1 -p tcp -d 10.1.7.1 --dport 80 -j DNAT --to 10.1.7.1:443

Replace eth1 with the network interface where apache's serving and 10.1.7.1 with your server's public IP. And about your other question, I have no idea, but sure that other one can help you.

From: "lavin p" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Mon, 03 May 2004 17:15:14 +0530

hello everybody,

im lavin.i'm working in nokia india pvt ltd.i need your help ... coz i'm new to this project NSAS . i need to know ,when an http request to port 80 comes howz it redirecting to https ie 443 port??? n after this i need to know,if i'm adding a new module to apache server ,i've written the complete module and done with all the module structure n all those stuff and made the xyz_mod.so file .... now i want to know how to call this module from apache when a request comes. i mean how is the hooking taking place... please help me

if you are not the right person and if you know somone who knows all these stuff please forward this mail to tht person and ask to help me....

thanking you
p lavin

mail me at

[EMAIL PROTECTED]

_________________________________________________________________
Easiest Money Transfer to India. Send Money To 6000 Indian Towns. http://go.msnserver.com/IN/48198.asp Easiest Way To Send Money Home!


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

_________________________________________________________________
Una nueva forma de navegar. Descarga la Barra de Herramientas de MSN. http://toolbar.msn.es/


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to