.htaccess: bypass Safari RSS detection

master
pictuga 2020-05-06 11:47:24 +02:00
parent c74abfa2f4
commit f27631954e
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@ ErrorDocument 403 "Access forbidden"
ErrorDocument 404 /cgi/main.py ErrorDocument 404 /cgi/main.py
ErrorDocument 500 "A very nasty bug found his way onto this very server" ErrorDocument 500 "A very nasty bug found his way onto this very server"
# Work around for Safari
Header set X-Content-Type-Options "nosniff"
<Files ~ "\.(py|pyc|db|log)$"> <Files ~ "\.(py|pyc|db|log)$">
deny from all deny from all
</Files> </Files>