On Thu, Oct 29, 2009 at 11:46 AM, ericdraven <erik@xxxxxxxxxxxxx> wrote: > > Hello, > > I need some expert help on the following configuration task: > > I have a startpage with a standard login form. After a user logs in, he > should be > redirected to use https for the rest of the session. That's a rather odd requirement. Normally the requirement is to be redirected to https _before_ logging in. It is, after all, the login data, that you need to protect. > When I use a rewrite rule as shown below, > RewriteRule ^/login(.*) https://%{SERVER_NAME}/login$1 [R,L] > the parameters get lost, because the request is translated to a GET request. > What do I need to do, to fix this problem? Use the QSA flag, so the query string doesn't get lost. 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