使用者工具

網站工具


service:apache

差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

Both sides previous revision 前次修改
下次修改
前次修改
service:apache [2008/04/12 23:02]
wenpei
service:apache [2011/06/20 17:29] (目前版本)
wenpei GoAccess
行 11: 行 11:
   # chmod 600 /​etc/​apache2/​apache.pem   # chmod 600 /​etc/​apache2/​apache.pem
  
 +<​code>​
 +Country Name (2 letter code) [AU]:TW
 +State or Province Name (full name) [Some-State]:​Taiwan
 +Locality Name (eg, city) []:Taoyuan
 +Organization Name (eg, company) [Internet Widgits Pty Ltd]:SARS TW
 +Organizational Unit Name (eg, section) []:wiki
 +Common Name (eg, YOUR name) []:​wiki.sars.tw
 +Email Address []:​webmaster@localhost
 +</​code>​
  
 ==== 開啟port ==== ==== 開啟port ====
行 117: 行 126:
 需要啟動apache2 需要啟動apache2
  
 +===== 自動導向 https =====
 +  RewriteEngine On
 +  RewriteCond %{SERVER_PORT} !^443$
 +  RewriteRule ^(.*)$ https://​%{SERVER_NAME}/​~somewhere/​$1 [L,R]
 +
 +====== Log 分析 ======
 +===== GoAccess=====
 +http://​goaccess.prosoftcorp.com/​
 +
 +http://​www.openfoundry.org/​index.php?​option=com_content&​task=view&​id=8228&​Itemid=4
  
 ====== 使用Apache自動判別語系 ====== ====== 使用Apache自動判別語系 ======
service/apache.1208012561.txt.gz · 上一次變更: 2008/04/12 23:02 由 wenpei