I'm sure that my .htaccess file is being read by Apache as I tried to write in random stuff in it, eg: "sifnoweijf", and my page could no longer be displayed.
but why the following rewrite doesn't work?
Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteCond %{REQUEST_METHOD} ^(CONNECT|OPTIONS) RewriteRule .* - [R=405,L] - Running Apache 2.2.22 on Windows Server 2012
- .htaccess file in DocumentRoot, eg: "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs"
httpd.conf is configured:
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Anyone?