How I can avoid requesting Basic Authentication when HTTP method is OPTIONS on Apache .htaccess?
snippet in htaccess

How I can avoid requesting Basic Authentication when HTTP method is OPTIONS on Apache .htaccess?

user634

SetEnvIfNoCase Request_Method OPTIONS allowed

AuthType Basic 
AuthName "Restricted Files"
# (Following line optional)
AuthBasicProvider file
AuthUserFile /usr/local/apache/passwd/passwords
Require user rbowen
Order deny,allow
Deny from all
Allow from env=allowed
Satisfy any