Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (14 sloc) 582 Bytes
# If you are running PHP in CGI mode you will need to add one set of these
# directives to your .htaccess file, or your virtualhost configuration.
#
# Option 1, mod_rewrite (req)
#RewriteEngine on
#RewriteCond %{HTTP:Authorization} !^$
#RewriteCond %{QUERY_STRING} !auth=
#RewriteCond %{REQUEST_METHOD} =GET
#RewriteRule (.*) %{REQUEST_URI}?%{QUERY_STRING}&auth=%{HTTP:Authorization} [L]
# Option 2, mod_rewrite (env)
#RewriteEngine on
#RewriteRule \.php$ - [E=PHP_AUTH_DIGEST:%{HTTP:Authorization},L]
# Option 3, mod_setenvif
#SetEnvIf Authorization "(.*)" PHP_AUTH_DIGEST=$1