geniusbou
2009-01-25, 11:48 AM
我想用server-status
http://xxx.twbbs.org/server-status
在status.conf
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from xxx.twbbs.org
</Location>
可是我去連http://xxx.twbbs.org/server-status
卻出現
Forbidden
You don't have permission to access /server-status on this server.
但是將xxx.twbbs.org 改成 IP 就可以連的上
Allow from 123.123.123.123
再去連http://xxx.twbbs.org/server-status
就連的上
而xxx.twbbs.org 有對應到IP 123.123.123.123
因為 ping xxx.twbbs.org
PING xxx.twbbs.org (123.123.123.123)
64 bytes from.....
64 bytes from.....
64 bytes from.....
3 packets transmitted, 3 received, 0% packet loss, time 2007ms
是Allow from 後面不能接domain name嗎
還是我那裡沒設好
贊助商連結
http://xxx.twbbs.org/server-status
在status.conf
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from xxx.twbbs.org
</Location>
可是我去連http://xxx.twbbs.org/server-status
卻出現
Forbidden
You don't have permission to access /server-status on this server.
但是將xxx.twbbs.org 改成 IP 就可以連的上
Allow from 123.123.123.123
再去連http://xxx.twbbs.org/server-status
就連的上
而xxx.twbbs.org 有對應到IP 123.123.123.123
因為 ping xxx.twbbs.org
PING xxx.twbbs.org (123.123.123.123)
64 bytes from.....
64 bytes from.....
64 bytes from.....
3 packets transmitted, 3 received, 0% packet loss, time 2007ms
是Allow from 後面不能接domain name嗎
還是我那裡沒設好
贊助商連結