Re: FW: question

2003-07-24 Thread Simon Pabst
At 10:42 24.07.2003 +0200, you wrote:
Question :

I've made a servlet and I can run it when I type the url :
 http://server.mynetwork.be:8080
The URL will automatically switch to

https://server.mynetwork.be:8443/index.html , this is ok.
But if anyone types the URL  
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/,
   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.
Apache is better regarding that, it puts out an error message, saying that 
you're speaking plain http to a https port.
That isn't implemented in Tomcat i guess, so the browsers get some weird 
content and behave each in another way then.

How can I prevent this ?
Is there a way that if someone types  
http://server.mynetwork.be:8443 this person will get redirected to

https://server.mynetwork.be:8443/index.html  instead ?
Don't know if it's possible to do redirects in Tomcat itself,
however you could put Apache with mod_rewrite in front to do that.

Greetings,

Kris Vansant
SIEMENS Atea
[EMAIL PROTECTED] 
phone:   +32 14 253049
mobile:
Fax:   +32 14 22 29 94
Mobile Solutions
and Enabling Services
http://www.ic.siemens.be 
The only thing more accurate than incoming enemy fire is incoming friendly
fire.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


FW: question

2003-07-24 Thread Vansant Kris
Question :
 
I've made a servlet and I can run it when I type the url :
 http://server.mynetwork.be:8080
The URL will automatically switch to

https://server.mynetwork.be:8443/index.html , this is ok.
 
But if anyone types the URL  
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/,
   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 this person will get redirected to

https://server.mynetwork.be:8443/index.html  instead ?
 
 
Greetings,
 
Kris Vansant 
SIEMENS Atea 
[EMAIL PROTECTED]  
phone:   +32 14 253049 
mobile:  
Fax:   +32 14 22 29 94 

Mobile Solutions 
and Enabling Services
http://www.ic.siemens.be 


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

 


FW: Question about tomcat.bat

2002-02-07 Thread Michel Bergijk

Tomcat users,

Excuse me for breaking and entering your mailing list. I have a question
about tomcat.bat on Win2000:

> Because I was looking into Soap, I found out setting the CLASSPATH in
> tomcat.bat is not what I expected. I am running Apache with Tomcat and
> Jetspeed on a Win2000 system. I have been playing around with the batch
file
> and added a line with "start set" right after ":cleanup". This created a
new
> window with a listing of my environment variables. I found out the only
> thing in my CLASSPATH was CLASSPATH=c:\Apache\tomcat\lib\tomcat.jar . Is
> that normal, or should there be other jar files in it?

Regards,
Michel Bergijk

-Original Message-
From: Paul Spencer [mailto:[EMAIL PROTECTED]]
Sent: donderdag 7 februari 2002 16:32
To: Jetspeed Users List
Subject: Re: Question about tomcat.bat


Michel,
I am running Cocoon2, Soap, and Jetspeed in one instance of Tomcat 
4.0.1.I have not modified the CLASSPATH during ANY of the 
installations.  The was was true with Tomcat 3.3 running Cocoon2 and 
Jetspeed.   You might want to ask the Tomcat folks.

Paul Spencer


Michel Bergijk wrote:

> Fellow jetspeed users,
> 
> Because I was looking into Soap, I found out setting the CLASSPATH in
> tomcat.bat is not what I expected. I am running Apache with Tomcat and
> Jetspeed on a Win2000 system. I have been playing around with the batch
file
> and added a line with "start set" right after ":cleanup". This created a
new
> window with a listing of my environment variables. I found out the only
> thing in my CLASSPATH was CLASSPATH=c:\Apache\tomcat\lib\tomcat.jar . Is
> that normal, or should there be other jar files in it?
> 
> With regards,
> 
> Michel Bergijk
> ABAP/4 Engineer
> CMG Oost-Nederland B.V.
> Division Trade, Transport & Industry
> Meander 901
> 6825 MH Arnhem
> PO Box 7015
> 6801 HA Arnhem
> The Netherlands
> 
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

> 
> 



--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe:   
For additional commands: 
Troubles with the list: