diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..a189cbe --- /dev/null +++ b/.htaccess @@ -0,0 +1,33 @@ + +php_flag display_errors Off +php_flag log_errors On +php_value error_log syslog + +php_flag safe_mode On +php_flag safe_mode_gid On +php_value open_basedir /var/www/board +php_value safe_mode_exec_dir /var/empty + + + + Order Deny,Allow + Deny from all + + + + + + + # these files require authentication + + SSLOptions +StdEnvVars +ExportCertData + SSLUserName SSL_CLIENT_S_DN_Email + SSLVerifyClient optional + + RewriteEngine on + RewriteCond %{SSL:SSL_CLIENT_VERIFY} !=SUCCESS + RewriteRule .? - [F] + ErrorDocument 403 "You need a client side certificate issued by CAcert to access this url" + + +