diff options
| author | Horus3 | 2014-02-23 14:23:40 +0100 |
|---|---|---|
| committer | Horus3 | 2014-02-23 14:23:40 +0100 |
| commit | b8913a2b52554c98e67785e40bb954303bafd77d (patch) | |
| tree | 9b3c67e491095abec23679f4a58ebe0bfd53292b /blob | |
| parent | be3a6b951626353c15c7d696aeb1c4b4e47f0f3a (diff) | |
| download | files.iamfabulous.de-b8913a2b52554c98e67785e40bb954303bafd77d.tar.gz | |
index
Diffstat (limited to 'blob')
| -rw-r--r-- | blob/nginx_rewrite_rules | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/blob/nginx_rewrite_rules b/blob/nginx_rewrite_rules index 376a10f..10c6edd 100644 --- a/blob/nginx_rewrite_rules +++ b/blob/nginx_rewrite_rules @@ -1,18 +1,18 @@ location ~* ^/?login(\?[0-9a-zA-Z]*(=[0-9a-zA-Z]*)?)? { - rewrite ^/?login(\?[0-9a-zA-Z]*(=[0-9a-zA-Z]*)?)? /login.php?$1 last; + rewrite ^/?login(\?[0-9a-zA-Z]*(=[0-9a-zA-Z]*)?)? /index.php?task=login&arguments=$1 last; } location ~* ^/?logout([?/]?.*) { - rewrite ^/?logout([?/]?.*) /login.php?logout last; + rewrite ^/?logout([?/]?.*) /index.php?task=logout&arguments=$1 last; } location ~* ^/?register(\?[0-9a-zA-Z]*(=[0-9a-zA-Z]*)?)? { - rewrite ^/?register(\?[0-9a-zA-Z]*(=[0-9a-zA-Z]*)?)? /register.php?$1 last; + rewrite ^/?register(\?[0-9a-zA-Z]*(=[0-9a-zA-Z]*)?)? /index.php?task=register&arguments=$1 last; } location ~* ^/?invite(\?[0-9a-zA-Z]*(=[0-9a-zA-Z]*)?)? { - rewrite ^/?invite(\?[0-9a-zA-Z]*(=[0-9a-zA-Z]*)?)? /invite.php?$1 last; + rewrite ^/?invite(\?[0-9a-zA-Z]*(=[0-9a-zA-Z]*)?)? /index.php?task=invite&arguments=$1 last; } location ~* \.php(\?[0-9a-zA-Z]*(=[0-9a-zA-Z]*)?)? {} #empty block to catch all |
