Listen 9095 DocumentRoot %DOCUMENTROOT ServerName localhost CustomLog %LOGDIR/baculum-web-access.log combined ErrorLog %LOGDIR/baculum-web-error.log # # NOTE: To enable encrypted connection please prepare cert files and # then uncomment SSL lines below # #SSLEngine on #SSLCertificateFile /etc/baculum/Config-web-apache/baculum.crt #SSLCertificateKeyFile /etc/baculum/Config-web-apache/baculum.pem Options +FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/$1 [L] RedirectMatch ^/$ /web/ SetEnvIf Request_URI "^/web/redirect$" noauth=1 AuthType Basic AuthName "Baculum Auth" AuthUserFile %DOCUMENTROOT/protected/Web/Config/baculum.users Order Deny,Allow Satisfy Any Deny from all Require valid-user Allow from env=noauth Allow from env=REDIRECT_noauth Order Deny,Allow Deny from all Order Deny,Allow Deny from all Order Deny,Allow Deny from all mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file \.js$ mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* ExpiresActive On ExpiresDefault "access plus 864000 seconds" Header set Cache-Control "max-age=864000, private"