# Basic Apache config for tkr in subfolder # e.g. https://your-domain.com/tkr # For use with included docker-compose.yml # Alias for tkr subfolder ServerName localhost Alias /tkr /var/www/tkr/public AllowOverride None Require all granted # Front controller pattern RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /tkr/index.php [L] # Block access to sensitive directories Require all denied Require all denied Require all denied Require all denied # Error and access logs ErrorLog ${APACHE_LOG_DIR}/tkr_error.log CustomLog ${APACHE_LOG_DIR}/tkr_access.log combined