伺服搭建

iptables

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

Proxy

Cache

DataBase

MySQL

MongoDB

GUI

CouchDB

Processer

PHP

[date]
date.timezone = Asia/Taipei
  • Upload
max_execution_time = 300
max_input_time = 600
memory_limit = 128M
post_max_size = 48M
upload_max_filesize = 32M

node.js

教學

元件

應用

FTPD

Tracker

Monitoring

Management

Benchmark

Misc

computer/server.txt · 上一次變更: 2012/05/04 16:36 由 wm
 
若未特別註明,此維基上的內容都是採用以下授權方式: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki