Use dep in Jenkinsfile
[cacert-boardvoting.git] / .htaccess
1 <IfModule mod_php5.c>
2 php_flag display_errors Off
3 php_flag log_errors On
4 php_value error_log syslog
5
6 php_flag safe_mode On
7 php_flag safe_mode_gid On
8 php_value open_basedir /var/www/board
9 php_value safe_mode_exec_dir /var/empty
10 </IfModule>
11
12 <FilesMatch "^(database.*|remind.php|closevotes.php.*)$">
13 Order Deny,Allow
14 Deny from all
15 </FilesMatch>
16
17
18
19
20 <FilesMatch "^(motions?|vote|proxy)\.php$">
21 # these files require authentication
22 <IfModule mod_ssl.c>
23 SSLOptions +OptRenegotiate +StdEnvVars +ExportCertData
24 SSLUserName SSL_CLIENT_S_DN_Email
25 SSLVerifyClient require
26 # <IfModule mod_rewrite.c>
27 # RewriteEngine on
28 # RewriteCond %{SSL:SSL_CLIENT_VERIFY} !=SUCCESS
29 # RewriteRule .? - [F]
30 # ErrorDocument 403 "You need a client side certificate issued by CAcert to access this url"
31 # </IfModule>
32 </IfModule>
33 </FilesMatch>