You can use the following config params in the connector element for the
connector you are using (see
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html):

- protocol      
- proxyName     
- proxyPort     
- redirectPort  
- scheme        
- secure

Regards,

Rainer

Siddhartha Subramanian schrieb:
> Hi
> 
>  
> 
> Is there is way we can specify tomcat not to] change the protocol scheme
> on redirecting relative URL's?
> 
>  
> 
> example
> 
>  
> 
> http://localhost/myapp <http://localhost/myapp> 
> 
>  
> 
> post does s response.sendRedirect("/myapp/mynextlocation?name=test")
> 
>  
> 
> tomcat (using 5.5) makes this into 
> 
>  
> 
> https://localhost/myapp/mynextlocation?name=test
> <https://localhost/myapp/mynextlocation?name=test> 
> 
>  
> 
> and obviously since I do not have anything running on secure mode at the
> port 443 this fails..
> 
>  
> 
> I tried to do a 
> 
>  
> 
> response.sendRedirect("http://"+remoteaddress+"/myapp/mynextlocation?nam
> e=test")
> 
>  
> 
> tomcat just ignored my protocol specification.
> 
>  
> 
> any input help will be appreciated.
> 
>  
> 
> --Sid 
> 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to