【求助】apache兩個問題....



贊助商連結


頁 : 1 [2] 3

ELIJAHY
2003-09-01, 02:17 PM
最初由 repsol 發表
1.
可以試試 mod_bandwidth

2.
user目錄在 D:/user

幫 user 設上一個 <Directory> 的設定
然後
把.htaccess 檔案放上該目錄,.htaccess的內容寫好
#自訂找不到網頁的錯誤頁面
ErrorDocument 404 404.html
謝謝...
那請問mod_bandwidth那裡找
還想問問怎樣才可限制user的"同時連線數"和"最大連線數"

贊助商連結


repsol
2003-09-01, 09:49 PM
這邊看看
http://www.cohprog.com/v3/bandwidth/intro-en.html

文件看看
http://www.cohprog.com/v3/bandwidth/doc-en.html

ELIJAHY
2003-09-02, 08:24 PM
最初由 repsol 發表
這邊看看
http://www.cohprog.com/v3/bandwidth/intro-en.html

文件看看
http://www.cohprog.com/v3/bandwidth/doc-en.html
但mod_bandwidth好像不能限制user的"同時連線數"和"最大連線數喔..

ELIJAHY
2003-09-05, 05:16 PM
最初由 repsol 發表
這邊看看
http://www.cohprog.com/v3/bandwidth/intro-en.html

文件看看
http://www.cohprog.com/v3/bandwidth/doc-en.html 原來mod_bandwidth是預設了最多只可2人連線的..
怎樣解決喔..

ELIJAHY
2003-09-07, 12:26 PM
有誰可以幫幫我喔...

repsol
2003-09-09, 05:15 PM
mod_bandwidth 有個參數設定

MaxConnection
Syntax : MaxConnection <connections>
Default : 0 (illimited)
Context : per directory, .htaccess
Restrict the number of maximum simultanous connections. If the limit is reached, new connections will be rejected. A value of 0 mean that there isn't any limits.

這應該是你要的最大連接數吧!!
至於
同時連線數
我就不太了解你的意思

ELIJAHY
2003-09-09, 07:39 PM
最初由 repsol 發表
mod_bandwidth 有個參數設定

MaxConnection
Syntax : MaxConnection <connections>
Default : 0 (illimited)
Context : per directory, .htaccess
Restrict the number of maximum simultanous connections. If the limit is reached, new connections will be rejected. A value of 0 mean that there isn't any limits.

這應該是你要的最大連接數吧!!
至於
同時連線數
我就不太了解你的意思 不行呀..
只要一加入MaxConnection這句就會出現這樣..

repsol
2003-09-10, 09:59 AM
有可能你的mod_bandwidth 這個module沒有裝好在你的apache裡
你用的win32 的apache
得先看看這邊...

http://flashexperiments.insh-allah.com/Apache.html

ELIJAHY
2003-09-11, 05:35 PM
最初由 repsol 發表
有可能你的mod_bandwidth 這個module沒有裝好在你的apache裡
你用的win32 的apache
得先看看這邊...

http://flashexperiments.insh-allah.com/Apache.html 到底我是那裡錯了...
我不懂

ellery
2003-09-11, 07:00 PM
最初由 ELIJAHY 發表
到底我是那裡錯了...
我不懂

你最好去找一本 Apache 的書好好看一看.