# Basic Apache VirtualHost for tkr # For use with included docker-compose.yml # HTTP - redirect to HTTPS ServerName localhost DocumentRoot /var/www/tkr/public # Main directory - route everything through index.php AllowOverride None Require all granted RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php [L] # Block access to sensitive directories Require all denied Require all denied Require all denied Require all denied ErrorLog ${APACHE_LOG_DIR}/tkr_error.log CustomLog ${APACHE_LOG_DIR}/tkr_access.log combined