Project

General

Profile

Actions

Bug #2417

closed

url.redirect Lost POST data

Added by pratikyagnik over 10 years ago. Updated over 10 years ago.

Status:
Invalid
Priority:
Normal
Category:
-
Target version:
-
ASK QUESTIONS IN Forums:

Description

I am trying to redirect my page from http:// to https://
I have few POST data, after redirect I lost my data. I have rules as follow.

$SERVER["socket"] == "<ip>:443" {
ssl.engine = "enable"
ssl.pemfile = var.confdir + "/<domain>.pem"
ssl.ca-file = var.confdir + "/<domain>.crt"
server.name = "<domain>"
}
$SERVER["socket"] == ":80" {
$HTTP["host"] =~ "(.*)" {
url.redirect= ( "/payment/$" => "https://%1/payment/")
}
}
server.document-root = "/var/<path>/htdocs"
Actions #1

Updated by stbuehler over 10 years ago

  • Status changed from New to Invalid
  • Assignee deleted (darix)
  • not a bug
  • it actually is better if it does NOT work that way, so people don't post to the insecure url
Actions

Also available in: Atom