Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old September 18th, 2000, 03:10 PM
hemanth hemanth is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Posts: 2 hemanth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have lots of virtual hosts but SSL cert. has been purchased only for "www". How do I redirect/rewrite the following:

1. https://*.abc.com to http://*.abc.com
but
2. https://www.abc.com to go thru.

thanks

Reply With Quote
  #2  
Old September 18th, 2000, 07:55 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
You need to specify how the full directory path is layout for both https and http.

Reply With Quote
  #3  
Old September 20th, 2000, 06:03 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Have you solved your problem yet? If not, please provide what I requested previously so I can write up the appropriate mod_rewrite code for you.

I need further details from you.

Reply With Quote
  #4  
Old September 21st, 2000, 12:31 PM
hemanth hemanth is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Posts: 2 hemanth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
My full problem in detail - two parts:

1. I need https://www.abc.com to succeed but
https://*.abc.com to redirect to http://*.abc.com

<VirtualHost 1.2.3.4:80>
ServerName abc.com
ServerAlias *.abc.com www.abc.com
VirtualDocumentRoot /home/httpd/%1
.....
</VirtualHost>

Same thing for port 443


2. The next problem, I want some paths in the www.abc.com site to be accessed by https only, i.e. if somebody types in htttp, it should be redirected to https only for certian directories. For example,
http://www.abc.com/secure/... should be redirected to https://www.abc.com. However, http://www.abc.com/test/.. should still succeed.

Any help is greatly appreciated.


Hemanth

Reply With Quote
  #5  
Old September 21st, 2000, 02:55 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Now I need to make sure whether you can get the environment variable "SERVER_PROTOCOL" correctly. Do you know how? If so, please provide the output of $ENV{'SERVER_PROTOCOL'} or <!--#echo var="SERVER_PROTOCOL"--> for both http and https.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Massvirtual hosts and SSL redirection


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway