Force SSL/https using .htaccess and mod_rewrite
From : http://www.besthostratings.com/articles/force-ssl-htaccess.html Sometimes you may need to make sure that the user is browsing your site over securte connection. An easy …
From : http://www.besthostratings.com/articles/force-ssl-htaccess.html Sometimes you may need to make sure that the user is browsing your site over securte connection. An easy …
如果有些暫存的資料夾. 定時想清理就可以用下列命令. 而我是比較懶惰. 我將指令放在 cron table裡面. 每天晚上凌晨自己讓電腦執行. crontab -e 0 0 * * * find /scratch/ -mindepth 2 -maxdepth 5 -mtime +14 …
情境 : 我想組態某台 Linux 的 eth0 網路介面可以帶 VLAN100 and VLAN500 的 tags. 解決方案 : 在 Cisco Switch 上要先設定該 Linux Port. interface GigabitEthernet1/0/1 …
# Disable reading by anonymous users $wgGroupPermissions[‘*’][‘read’] = false; # But allow them to read e.g., these pages: $wgWhitelistRead = array ( …
before, you should install kstart [root@chat kstart-3.13]# ./configure KRB5_CONFIG=/etc/krb5.conf –with-aklog=/usr/bin/aklog –enable-setpag [root@chat kstart-3.13]# make [root@chat kstart-3.13]# make install modify /etc/rc.d/init.d/httpd file: from …
From : http://starryalley.homelinux.net/blog/index.php?/archives/1005-linux.html # tar zcf – dir_to_archive/ | split -b 10m – test_archive.tar.gz. # cat test_archive.tar.gz.* | tar zxf –
[root@bt1 ~]# for ((i=1;i<=14;i+=1)); do scp -r /etc/krb5.conf bc$i:/etc/; done
# ls /home/ | xargs -i find ‘{}’/Sites -type d | xargs -i fs setacl ‘{}’ webservers write 首先列出使用者目錄. 將該輸出傳到find找目錄的參數. 在將此輸出導到 fs …
前幾天, 我在網路上逛到 gOS. 就被它的圖形界面吸引住了. 他有很多可愛的 icons. 還能展開像 Leopard 扇形那樣的界面. 就抓下來玩玩. gOS 的模樣 gOS 它是建構在 Ubuntu 之上. 理論上應該是很容易使用. 不過我不太熟悉. 我比較熟悉 RedHat 系統.