On Nov 30, 2007 2:54 AM, baalchina <baalchina@xxxxxxxxx> 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. Krist -- krist.vanbesien@xxxxxxxxx krist@xxxxxxxxxxxxx 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:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx