... | ... |
@@ -11,6 +11,8 @@ |
11 | 11 |
# See https://wicg.github.io/change-password-url/ |
12 | 12 |
Redirect /.well-known/change-password /go/index/chpass |
13 | 13 |
|
14 |
+header always set X-Content-Type-Options nosniff |
|
15 |
+ |
|
14 | 16 |
RewriteEngine On |
15 | 17 |
RewriteBase / |
16 | 18 |
RewriteRule ^go/(.*)$ dispatch.php?go=$1&%{QUERY_STRING} |
... | ... |
@@ -12,4 +12,4 @@ RewriteEngine On |
12 | 12 |
RewriteBase / |
13 | 13 |
RewriteRule ^go/(.*)$ dispatch.php?go=$1&%{QUERY_STRING} |
14 | 14 |
RewriteRule ^init(.*)$ go/index/initialize_useraccount?token=$1&%{QUERY_STRING} [R] |
15 |
-RewriteRule ^verify(.*)$ go/handles/verify?token=$1&%{QUERY_STRING} [R] |
|
15 |
+RewriteRule ^verify(.*)$ go/contacts/verify?token=$1&%{QUERY_STRING} [R] |
... | ... |
@@ -12,4 +12,4 @@ RewriteEngine On |
12 | 12 |
RewriteBase / |
13 | 13 |
RewriteRule ^go/(.*)$ dispatch.php?go=$1&%{QUERY_STRING} |
14 | 14 |
RewriteRule ^init(.*)$ go/index/initialize_useraccount?token=$1&%{QUERY_STRING} [R] |
15 |
-RewriteRule ^verify(.*)$ go/index/verify?token=$1&%{QUERY_STRING} [R] |
|
15 |
+RewriteRule ^verify(.*)$ go/handles/verify?token=$1&%{QUERY_STRING} [R] |
... | ... |
@@ -9,15 +9,5 @@ |
9 | 9 |
</Files> |
10 | 10 |
|
11 | 11 |
RewriteEngine On |
12 |
-RewriteBase / |
|
13 | 12 |
RewriteRule ^go/(.*)$ dispatch.php?go=$1&%{QUERY_STRING} |
14 | 13 |
RewriteRule ^init(.*)$ go/index/initialize_useraccount?token=$1&%{QUERY_STRING} [R] |
15 |
- |
|
16 |
- |
|
17 |
-#Order deny,allow |
|
18 |
-#Allow from 2001:8d8:81:1310:1:1:2:42 |
|
19 |
-#Deny from all |
|
20 |
- |
|
21 |
-# allow client certs |
|
22 |
-#SSLVerifyClient optional_no_ca |
|
23 |
-#SSLoptions +StdEnvVars +ExportCertData |
... | ... |
@@ -18,12 +18,6 @@ RewriteRule ^init(.*)$ go/index/initialize_useraccount?token=$1&%{QUERY_STRING} |
18 | 18 |
#Allow from 2001:8d8:81:1310:1:1:2:42 |
19 | 19 |
#Deny from all |
20 | 20 |
|
21 |
-<IfModule mod_php5.c> |
|
22 |
- php_flag short_open_tag off |
|
23 |
- php_flag display_errors on |
|
24 |
- php_flag display_startup_errors on |
|
25 |
-</IfModule> |
|
26 |
- |
|
27 | 21 |
# allow client certs |
28 | 22 |
#SSLVerifyClient optional_no_ca |
29 | 23 |
#SSLoptions +StdEnvVars +ExportCertData |
... | ... |
@@ -9,8 +9,9 @@ |
9 | 9 |
</Files> |
10 | 10 |
|
11 | 11 |
RewriteEngine On |
12 |
+RewriteBase / |
|
12 | 13 |
RewriteRule ^go/(.*)$ dispatch.php?go=$1&%{QUERY_STRING} |
13 |
-RewriteRule ^init(.*)$ dispatch.php?go=index/initialize_useraccount&token=$1&%{QUERY_STRING} |
|
14 |
+RewriteRule ^init(.*)$ go/index/initialize_useraccount?token=$1&%{QUERY_STRING} [R] |
|
14 | 15 |
|
15 | 16 |
|
16 | 17 |
#Order deny,allow |
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1290 87cf0b9e-d624-0410-a070-f6ee81989793
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1276 87cf0b9e-d624-0410-a070-f6ee81989793
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1254 87cf0b9e-d624-0410-a070-f6ee81989793
... | ... |
@@ -11,10 +11,11 @@ RewriteRule ^go/(.*)$ dispatch.php?go=$1&%{QUERY_STRING} |
11 | 11 |
#Allow from 2001:8d8:81:1310:1:1:2:42 |
12 | 12 |
#Deny from all |
13 | 13 |
|
14 |
-php_flag short_open_tag off |
|
15 |
-php_flag display_errors on |
|
16 |
-php_flag display_startup_errors on |
|
17 |
- |
|
14 |
+<IfModule mod_php5.c> |
|
15 |
+ php_flag short_open_tag off |
|
16 |
+ php_flag display_errors on |
|
17 |
+ php_flag display_startup_errors on |
|
18 |
+</IfModule> |
|
18 | 19 |
|
19 | 20 |
# allow client certs |
20 | 21 |
SSLVerifyClient optional_no_ca |
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1244 87cf0b9e-d624-0410-a070-f6ee81989793
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1150 87cf0b9e-d624-0410-a070-f6ee81989793
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1146 87cf0b9e-d624-0410-a070-f6ee81989793
... | ... |
@@ -11,4 +11,11 @@ RewriteRule ^go/(.*)$ dispatch.php?go=$1&%{QUERY_STRING} |
11 | 11 |
#Allow from 2001:8d8:81:1310:1:1:2:42 |
12 | 12 |
#Deny from all |
13 | 13 |
|
14 |
-php_flag display_errors On |
|
14 |
+php_flag display_errors on |
|
15 |
+php_flag display_startup_errors on |
|
16 |
+php_flag error_reporting e_all |
|
17 |
+ |
|
18 |
+ |
|
19 |
+# allow client certs |
|
20 |
+#SSLVerifyClient optional |
|
21 |
+#SSLoptions +StdEnvVars |
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@844 87cf0b9e-d624-0410-a070-f6ee81989793
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@822 87cf0b9e-d624-0410-a070-f6ee81989793
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@362 87cf0b9e-d624-0410-a070-f6ee81989793