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.
微软官方地图机器人横空出世,助你成为城市达人! 立即添加!
|