Web Servers on Unix and Linux - rewrite to ensure one page uses http and another https?

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > October 2004 > rewrite to ensure one page uses http and another https?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author rewrite to ensure one page uses http and another https?
Richard Grevers

2004-10-18, 7:46 am

Gretings - this group doesn't appear to have a regular FAQ post, so excuse
me if this Q is FA :-)

I have a commerce application running on Apache 2.0 with two scripts in
the same directory. I need a means to ensure that
1) checkout.nv is always called via https://
2) index.mv is always called via http://
(they have a common initialisation script which dectects a secure
conenction and serves a really minimal stylesheet, so the layout of index
is destroyed on a secure connection - not to mention that it has too many
images for a secure connection.

Both scripts are the targets for a lot of form posts.

Is there a way I can achieve the above? (I'm guessing it would use mod
rewrite)

TIA
Richard Grevers

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com