• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Enable only SSL for a given URL on Apache

 
Ranch Hand
Posts: 290
Oracle Tomcat Server Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have an application deployed on apache and would like to restrict access to a given URL to SSL only.

For example:

http://www.myserver.com/public -- can be accessed from HTTP or HTTPS
http://www.myserver.com/private -- can only be accessed from HTTPS

Server details:
Server Version: Apache/1.3.41 (Unix) PHP/4.4.9 mod_auth_passthrough/1.8
mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.31
OpenSSL/0.9.7a
Server Built: Dec 23 2008 20:13:53
-----------------------------------------------------

THanks
Ahmed
 
Aryan Khan
Ranch Hand
Posts: 290
Oracle Tomcat Server Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No one ever done this
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Aryan Khan wrote:No one ever done this



Aryan,
This forum is for Apache Tomcat (the Servlet container written in Java) not for the Apache Web Server (written in C).
I'll move this thread to our Other Open Source Projects forum.
Maybe it will do better there.

-Ben
 
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We'll see how it does here and then I might move it to the Other Servers and Products page.
 
Humans and their filthy friendship brings nothing but trouble. My only solace is this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!