ServerName localhost
ServerTokens Prod
ServerSignature Off
TraceEnable Off
# Only expose this HTTP listener to a trusted reverse proxy. The proxy must
# overwrite X-Forwarded-Proto, not pass a client-supplied value through.
# PHP uses HTTPS to decide whether participant/admin cookies need Secure.
SetEnvIf X-Forwarded-Proto "^https$" HTTPS=on
Options -Indexes -MultiViews
AllowOverride None
DirectoryIndex index.php
Require all granted
# Internal code is still usable by PHP/CLI, never directly over HTTP.
Require all denied
# Also deny dotfiles and backup/config files if accidentally added later.
Require all denied
Require all denied
Alias /healthz /usr/local/share/recruitment/health.php
Options -Indexes
AllowOverride None
Require all denied
Require all granted
Header always set X-Content-Type-Options "nosniff"
Header always set Referrer-Policy "same-origin"