CODE:
<Directory "/var/www/html">
Options FollowSymLinks
AllowOverride All
BrowserMatch "MSIE" browser
Order deny,allow
allow from env=browser
deny from all
</Directory>
反之...如果你想允許Firefox 3.0瀏覽...禁止IE訪問...只要改成CODE:
<Directory "/var/www/html">
Options FollowSymLinks
AllowOverride All
BrowserMatch "Mozilla/5.0" browser
Order deny,allow
allow from env=browser
deny from all
</Directory>
提供一個Test網址... http://mail.adj.idv.tw使用IE 跟 Mozilla 就會看到不同的內容了...
[ 本帖最後由 ohmyadj 於 2008-8-22 09:03 編輯 ]