使用者工具

網站工具


computer:server:httpd

這是本文件的舊版!


HTTPD

Apache

RewriteEngine on
RewriteCond %{HTTP_COOKIE} !.*na3_base=danchi.* [NC]
RewriteRule .*\.(mp3|MP3)$ - [F]
SetEnvIfNoCase Referer "^http://home.kidwm.net/.*$" local_ref=1
SetEnvIfNoCase Referer "^http://base.kidwm.net/.*$" local_ref=1
SetEnvIfNoCase Cookie "na3_base" local_ref=1
SetEnvIfNoCase User-Agent ^$ bad
<FilesMatch "\.(mp3)"> 
Order Allow,Deny
Allow from env=local_ref
Allow from 127.0.0.1
</FilesMatch>

log

  • Logs Rotate For Windows
CustomLog "|bin/rotatelogs.exe logs/access.log 86400" combined

htaccess

NGiNX

工具

Suite

Tool

Proxy

Cache

computer/server/httpd.1554911323.txt.gz · 上一次變更: 2019/04/10 15:48 由 wm