diff --git a/doc/chwala.conf b/doc/chwala.conf index 9c87403..c6820b7 100644 --- a/doc/chwala.conf +++ b/doc/chwala.conf @@ -1,28 +1,35 @@ # A suggested default configuration for chwala under httpd Alias /chwala /usr/share/chwala/public_html - AllowOverride All + AllowOverride None + + php_flag session.auto_start Off + php_flag display_errors Off + php_flag log_errors On + php_flag suhosin.session.encrypt Off + php_value error_log /var/log/chwala/errors + # Apache 2.4 Require all granted # Apache 2.2 Order Allow,Deny Allow from All RewriteEngine on # NOTE: This needs to point to the base uri of your installation. RewriteBase /chwala/ # Rewrite document URLs of the form api/document/:id to api/index.php?method=document&id=:id RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^api/document/(.*)$ api/index.php?method=document&id=$1 [L,QSA]