2014年12月9日 星期二

win2003 FTP 只限上傳/下載設定

內容->安全性->進階,勾選底下項目

==只限上傳==
列出資料夾/讀取資料
建立檔案/寫入資料
建立資料夾/附加資料
寫入屬性
寫入擴充屬性
讀取權限

==只限下載==
周遊資料夾/執行檔案
讀取屬性
讀取擴充屬性
讀取權限

2014年6月10日 星期二

變更Mysql資料庫DB及使用者後無法使用情況

若我們在變更資料庫使用者權限時,郤會發生無法連結情況
請在SQL下執行
flush privileges
強制更新權限,應該就可以使用了

2014年4月23日 星期三

error_log 常出現 File does not exist 的解決方式

因為日誌常出現File does not exist:的問題,造成apache2老是停止工作,上網查了之後有方式解決,目前觀察中是否有效
安裝mod_limitipconn2(apache2.x)若是apache1.x版的請安裝mod_limitipconn 設定應該都一樣吧

安裝方式:

#cd /usr/ports/www/mod_limitipconn2#make install clean

在 /usr/local/etc/apache22/httpd.conf 加入底下設定

<ifmodule mod_limitipconn.c>
   <location>
          MaxConnPerIP 3  
          NoIPLimit image/*
    </location>
</ifmodule>

重新啟動Apache
#apachectl restart