# CyberChat .htaccess — Apache configuration
# Deny direct access to databases and the credential-bearing config file
Require all denied
Order Allow,Deny
Deny from all
# Always revalidate HTML so new asset versions take effect immediately.
Header set Cache-Control "no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "0"
# Voice playback MIME types, including Safari/iPhone-compatible AAC in MP4.
AddType audio/webm .webm
AddType audio/wav .wav
AddType audio/aac .aac
AddType audio/mp4 .m4a
AddType video/mp4 .mp4
# Deny direct access to storage and internal PHP libraries
RewriteEngine On
RewriteRule ^db/ - [F,L]
RewriteRule ^archive/ - [F,L]
RewriteRule ^lib/ - [F,L]
# PHP settings (if allowed by host)
php_value session.cookie_httponly 1
php_value session.cookie_samesite Strict
php_value session.use_strict_mode 1