qiuai
Verified User
- Joined
- May 10, 2010
- Messages
- 23
I want add a global htaccess rules like this:
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^Wget [OR]
RewriteCond %{HTTP_USER_AGENT} ^ApacheBench
RewriteRule ^(.*)$ http://people.com.cn/
but when i added it on /etc/httpd/conf/httpd.conf .it won't work.
it works normal on other server.
This makes me very troubled.
what i can do?
thanks.
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^Wget [OR]
RewriteCond %{HTTP_USER_AGENT} ^ApacheBench
RewriteRule ^(.*)$ http://people.com.cn/
but when i added it on /etc/httpd/conf/httpd.conf .it won't work.
it works normal on other server.
This makes me very troubled.
what i can do?
thanks.