httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krist van Besien" <>
Subject Re: [users@httpd] How to force loging using https,all others using http?
Date Fri, 30 Nov 2007 08:09:09 GMT
On Nov 30, 2007 2:54 AM, baalchina <> wrote:
> Hello everyone.
> I am using a forum,with php. The logging file is logging.php.
> I set mod_rewrite,to force logging using https, for example,user who clicks
> http://myforum/logging.php will automatic direct to
> https://myforum/logging.php
> The problem is, not all of my sites need https. but when user successfully
> logged in, he will stay in https.
> So, is there any way I can use rewrite to force all of my site files to
> using http,except logging.php?

A lot depends on how the login mechanism on you site works. What
happens after a user es entered his details and submits the form?

But ask yourself why you want this? I know of no good reason to want a
user to make a https session fall back to http, while there are quite
a few reasons to stay with https.


Bremgarten b. Bern, Switzerland
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message