LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-09-2005, 08:08 PM   #1
Doctor Doom
LQ Newbie
 
Registered: Oct 2003
Location: Seattle, WA
Posts: 2

Rep: Reputation: 0
Securing a website directory with ssl?


I'm trying to get apache 1.13.33 + mod_ssl to secure a sub-directory of a website with ssl. I'm having trouble figuring out the proper way to setup my httpd.conf virtualhost for the website so it will serve the main site on port 80 and then kick over to port 443 and SSL whenever someone tries to access the subdirectoy. Cany anyone point my to a good example virtualhost?
 
Old 10-10-2005, 06:58 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,118
Blog Entries: 54

Rep: Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787
Haven't got any, but this should get you started: Using Apache's RewriteEngine to redirect requests to other URLS and to https:// and Apache 2.0 module mod_rewrite. You also gotta do a rewrite back from https to http for URI's that shouldn't be SSL'ized.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Securing A directory? Spreegem Debian 3 04-04-2005 09:49 PM
Securing Website spud Linux - General 2 12-04-2004 03:51 PM
Securing individual directories (SSL) Trent Hatred Linux - Software 1 10-07-2004 10:50 PM
Forcing a directory tree to be SSL only leongoogs Linux - Newbie 1 05-11-2004 07:36 AM
How to help: SSL only website ohe Linux - General 9 09-29-2003 09:36 AM


All times are GMT -5. The time now is 08:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration