-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathhtaccess
More file actions
21 lines (16 loc) · 702 Bytes
/
htaccess
File metadata and controls
21 lines (16 loc) · 702 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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.
#
# The easiest way to do so is to simply rename this file ".htaccess"
# Option 1, mod_rewrite (req)
#RewriteEngine on
#RewriteCond %{HTTP:Authorization} !^$
#RewriteCond %{QUERY_STRING} openid.mode=authorize
#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