2008, 九月 月的彙整

備份 putty 設定檔

最近系統重做了一下,才想到要被分 putty 的設定檔~ 不然一堆東西要記~
putty 設定檔可以匯出這份註冊表就好

HKEY_CURRENT_USER\Software\SimonTatham

最近用到的 .htaccess 筆記

Redirect
ex: http://domain/yahoo redirect to tw.yahoo.com

Redirect /yahoo http://tw.yahoo.com

RedirectMatch
ex: http://domain/i/ file to http://other_domain/ file

RedirectMatch /i/(.*) http://other_domain/$1

dig command & rndc

dig @[dns ip] [domain record]

dns ip => 用來查詢dns record的dns server ip
domain record => 想查詢的 dn

rndc reload

reload zone 和 設定檔

rndc reload zone

reload 特定的 zone