Browse code

add nosniff

Hanno Böck authored on 07/12/2019 13:42:33
Showing 1 changed files
... ...
@@ -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}
Browse code

Support change password URL redirect

Hanno Böck authored on 06/12/2018 16:56:57
Showing 1 changed files
... ...
@@ -8,6 +8,9 @@
8 8
   Deny from all
9 9
 </Files>
10 10
 
11
+# See https://wicg.github.io/change-password-url/
12
+Redirect /.well-known/change-password /go/index/chpass
13
+
11 14
 RewriteEngine On
12 15
 RewriteBase /
13 16
 RewriteRule ^go/(.*)$  dispatch.php?go=$1&%{QUERY_STRING}
Browse code

Umbenennung Datenbank handles -> contacts

Bernd Wurst authored on 13/01/2018 07:12:57
Showing 1 changed files
... ...
@@ -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]
Browse code

In neues Modul ausgelagert

Bernd Wurst authored on 12/01/2018 10:14:12
Showing 1 changed files
... ...
@@ -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]
Browse code

Verify-Funktion für Kunden-Mailadressen eingebaut. Vorbereitung für Self-service-Änderungen

Bernd Wurst authored on 11/11/2017 11:49:10
Showing 1 changed files
... ...
@@ -12,3 +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]
Browse code

RewriteBase wieder eingefügt, da es doch nicht unnötig ist

Bernd Wurst authored on 05/03/2017 20:12:59
Showing 1 changed files
... ...
@@ -9,5 +9,6 @@
9 9
 </Files>
10 10
 
11 11
 RewriteEngine On
12
+RewriteBase /
12 13
 RewriteRule ^go/(.*)$  dispatch.php?go=$1&%{QUERY_STRING}
13 14
 RewriteRule ^init(.*)$  go/index/initialize_useraccount?token=$1&%{QUERY_STRING} [R]
Browse code

Erlaube relative pfade und entferne alte kommentare aus htaccess

Hanno Böck authored on 03/03/2017 11:52:48
Showing 1 changed files
... ...
@@ -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
Browse code

JQuery/-UI integriert und Vorbereitung für ausgelagerte JS-Dateien. Su-modul testweise umgestellt.

Bernd Wurst authored on 06/02/2014 18:26:10
Showing 1 changed files
... ...
@@ -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
Browse code

Leite Kurz-init-URL auf die lange Variante weiter um interne Links funktionierend zu halten

Bernd Wurst authored on 27/02/2013 15:30:51
Showing 1 changed files
... ...
@@ -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
Browse code

Erlaube Useraccount-Initialisierung mit Kurz-URL /initXYZ

Bernd Wurst authored on 27/02/2013 15:07:09
Showing 1 changed files
... ...
@@ -10,6 +10,7 @@
10 10
 
11 11
 RewriteEngine On
12 12
 RewriteRule ^go/(.*)$  dispatch.php?go=$1&%{QUERY_STRING}
13
+RewriteRule ^init(.*)$  dispatch.php?go=index/initialize_useraccount&token=$1&%{QUERY_STRING}
13 14
 
14 15
 
15 16
 #Order deny,allow
Browse code

Added some deny rules to prevent direct access on files

Bernd Wurst authored on 11/03/2012 18:19:43
Showing 1 changed files
... ...
@@ -3,6 +3,11 @@
3 3
   Deny from all
4 4
 </Files>
5 5
 
6
+<Files config.sample.php >
7
+  Order allow,deny
8
+  Deny from all
9
+</Files>
10
+
6 11
 RewriteEngine On
7 12
 RewriteRule ^go/(.*)$  dispatch.php?go=$1&%{QUERY_STRING}
8 13
 
Browse code

Login vial Client-Cert über Unterverzeichnis

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1290 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on 05/03/2009 09:14:11
Showing 1 changed files
... ...
@@ -18,5 +18,5 @@ RewriteRule ^go/(.*)$  dispatch.php?go=$1&%{QUERY_STRING}
18 18
 </IfModule>
19 19
 
20 20
 # allow client certs
21
-SSLVerifyClient optional_no_ca
22
-SSLoptions +StdEnvVars +ExportCertData
21
+#SSLVerifyClient optional_no_ca
22
+#SSLoptions +StdEnvVars +ExportCertData
Browse code

Webapp-Installer, erste Version die funktioniert

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1276 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on 28/02/2009 12:14:27
Showing 1 changed files
... ...
@@ -18,5 +18,5 @@ RewriteRule ^go/(.*)$  dispatch.php?go=$1&%{QUERY_STRING}
18 18
 </IfModule>
19 19
 
20 20
 # allow client certs
21
-#SSLVerifyClient optional_no_ca
22
-#SSLoptions +StdEnvVars +ExportCertData
21
+SSLVerifyClient optional_no_ca
22
+SSLoptions +StdEnvVars +ExportCertData
Browse code

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1256 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on 23/02/2009 19:30:53
Showing 1 changed files
... ...
@@ -18,5 +18,5 @@ RewriteRule ^go/(.*)$  dispatch.php?go=$1&%{QUERY_STRING}
18 18
 </IfModule>
19 19
 
20 20
 # allow client certs
21
-SSLVerifyClient optional_no_ca
22
-SSLoptions +StdEnvVars +ExportCertData
21
+#SSLVerifyClient optional_no_ca
22
+#SSLoptions +StdEnvVars +ExportCertData
Browse code

Fix für kein mod_php

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1254 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on 23/02/2009 19:10:39
Showing 1 changed files
... ...
@@ -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
Browse code

Neues Design, neue Startseite

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1244 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on 11/02/2009 18:34:39
Showing 1 changed files
... ...
@@ -11,6 +11,7 @@ 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
14 15
 php_flag display_errors on
15 16
 php_flag display_startup_errors on
16 17
 
Browse code

Request client cert

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1150 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on 18/09/2008 15:47:10
Showing 1 changed files
... ...
@@ -16,5 +16,5 @@ php_flag display_startup_errors on
16 16
 
17 17
 
18 18
 # allow client certs
19
-#SSLVerifyClient optional
20
-#SSLoptions +StdEnvVars
19
+SSLVerifyClient optional_no_ca
20
+SSLoptions +StdEnvVars +ExportCertData
Browse code

htscanner verschluckt sich an der Direktive

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1146 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on 17/09/2008 21:14:29
Showing 1 changed files
... ...
@@ -13,7 +13,6 @@ RewriteRule ^go/(.*)$  dispatch.php?go=$1&%{QUERY_STRING}
13 13
 
14 14
 php_flag display_errors on
15 15
 php_flag display_startup_errors on
16
-php_flag error_reporting e_all
17 16
 
18 17
 
19 18
 # allow client certs
Browse code

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1077 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on 19/05/2008 17:28:11
Showing 1 changed files
... ...
@@ -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
Browse code

es heißt php_flag, nicht php_value

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@844 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on 08/12/2007 16:26:29
Showing 1 changed files
... ...
@@ -11,4 +11,4 @@ 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_value display_errors On
14
+php_flag display_errors On
Browse code

VHost-Löschen als icon

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@822 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on 30/11/2007 19:49:26
Showing 1 changed files
... ...
@@ -10,3 +10,5 @@ RewriteRule ^go/(.*)$  dispatch.php?go=$1&%{QUERY_STRING}
10 10
 #Order deny,allow
11 11
 #Allow from 2001:8d8:81:1310:1:1:2:42
12 12
 #Deny from all
13
+
14
+php_value display_errors On
Browse code

webinterface => /webinterface

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@362 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on 27/03/2007 07:40:51
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,12 @@
1
+<Files config.php >
2
+  Order allow,deny
3
+  Deny from all
4
+</Files>
5
+
6
+RewriteEngine On
7
+RewriteRule ^go/(.*)$  dispatch.php?go=$1&%{QUERY_STRING}
8
+
9
+
10
+#Order deny,allow
11
+#Allow from 2001:8d8:81:1310:1:1:2:42
12
+#Deny from all