Hi,
I learned that
The RewriteCond
has 3 kinds of context(This indicates where in the server's configuration files
the directive is legal)
Server config, virtual host,
directory.
I have a httpd.conf file which has several whosts.
when configuring the server config level rewritcond settings, it always failed.
And the virutual host context level settings(putting these lines within each
<vhost XXX>) works.
RewriteEngine on
RewriteCond %{REQUEST_METHOD} =HEAD
RewriteRule .* - [F]
I am wondering why the server config level settings do not work.
_________________________________________________________________
新版手机MSN,新功能,新体验!满足您的多彩需求!
http://mobile.msn.com.cn