aspose file tools*
The moose likes Servlets and the fly likes Https request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Https request" Watch "Https request" New topic
Author

Https request

Rajeev Kashyap
Greenhorn

Joined: Sep 07, 2004
Posts: 19
Hi,
I am using apache as web server. When my http request is posted it goes as hhtps request i.e in encrypted form. Can any one suggest me what setting I have to do in my web server so that all the http request sent goes as http request.
sanjeevmehra mehra
Ranch Hand

Joined: Aug 21, 2004
Posts: 75
in server.xml you have
<connector> tags

one of them has attribute (property) scheme=https

just comment that <connector> tag.




COMMENT IT IN SERVER.XML
<!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->

<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8443" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="100" debug="0" scheme="https" secure="true"
useURIValidationHack="false" disableUploadTimeout="true">
<Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
clientAuth="false" protocol="TLS" />
</Connector>


thanks & regards,<br />Sanjeev.
Rajeev Kashyap
Greenhorn

Joined: Sep 07, 2004
Posts: 19
Thanks Sanjeev! It is working fine!
Rajeev Kashyap
Greenhorn

Joined: Sep 07, 2004
Posts: 19
Hi Sanjeev,
That was in case of Tomcat what if my web server in Apache. Any modification in httpd.conf file ?

Thanx in advance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Https request