Question :
 
I've made a servlet and I can run it when I type the url :
<http://server.mynetwork.be:8080> http://server.mynetwork.be:8080
The URL will automatically switch to
<https://server.mynetwork.be:8443/index.html>
https://server.mynetwork.be:8443/index.html , this is ok.
 
But if anyone types the URL  <http://server.mynetwork.be:8443>
http://server.mynetwork.be:8443 (so no secure html, but on the secured port
8443) 
than I get some strange things :
 
With Netscape I get a dialog : "You have chosen to download a file of type:
application/octet-stream from  <http://server.mynetwork.be:8443/>
http://server.mynetwork.be:8443/,
                                               What shoul Netscape 6 do with
this file ? * Open Using ....   * Save to Disk "
 
With I.E. , the file opens immediately in the browser, displaying ' '.
The name of the file is always random.
 
How can I prevent this ?
Is there a way that if someone types  <http://server.mynetwork.be:8443/>
http://server.mynetwork.be:8443 this person will get redirected to
<https://server.mynetwork.be:8443/index.html>
https://server.mynetwork.be:8443/index.html  instead ?
 
 
Greetings,
 
Kris Vansant 
SIEMENS Atea 
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
phone:   +32 14 253049 
mobile:  
Fax:       +32 14 22 29 94 
        
Mobile Solutions 
and Enabling Services
http://www.ic.siemens.be <http://www.ic.siemens.be/eng/default_rd.shtm>


The only thing more accurate than incoming enemy fire is incoming friendly
fire.

 

Reply via email to