In order to keep my .htaccess tidy, I am trying to combine these two rules into one using "[or]" (http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritecond)
RewriteCond %{REQUEST_METHOD} DELETERewriteRule company/(.*) deleteCompany.py?comp_id=$1RewriteCond %{REQUEST_METHOD} POSTRewriteCond %{QUERY_STRING} _method=DELETE RewriteRule company/(.*) deleteCompany.py?comp_id=$1
RewriteCond %{REQUEST_METHOD} DELETE [or]RewriteCond %{REQUEST_METHOD} POSTRewriteCond %{QUERY_STRING} _method=DELETERewriteRule company/(.*) deleteCompany.py?comp_id=$1
DELETE /company/12345 HTTP/1.1
5/13/2008 5:30:46 PM
Try capitalizing [OR] ?
5/13/2008 5:58:29 PM