This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Https request" Watch "Https request" New topic

Https request

Rajeev Kashyap

Joined: Sep 07, 2004
Posts: 19
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.

<!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->

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

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

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

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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Https request
Similar Threads
HFJS - small doubt
Tomcat 6.0 JSESSIONID cookie getting lost
Application Server and Web Server
Does the sebservice request go via a webserver or just the app server?
unsafe charrectors in HTTP requests url