-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathapache-override.cf
More file actions
15 lines (13 loc) · 922 Bytes
/
apache-override.cf
File metadata and controls
15 lines (13 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
RewriteEngine On
RewriteRule ^/.well-known/openid-configuration(.*) /${SSP_APACHE_ALIAS}module.php/oidc/.well-known/openid-configuration$1 [PT]
RewriteRule ^/.well-known/openid-federation(.*) /${SSP_APACHE_ALIAS}module.php/oidc/.well-known/openid-federation$1 [PT]
RewriteRule ^/.well-known/openid-credential-issuer(.*) /${SSP_APACHE_ALIAS}module.php/oidc/.well-known/openid-credential-issuer$1 [PT]
RewriteRule ^/.well-known/oauth-authorization-server(.*) /${SSP_APACHE_ALIAS}module.php/oidc/.well-known/oauth-authorization-server$1 [PT]
RewriteRule ^/.well-known/jwt-vc-issuer(.*) /${SSP_APACHE_ALIAS}module.php/oidc/.well-known/jwt-vc-issuer$1 [PT]
# Leave Authorization header with Bearer tokens available in requests.
# Solution 1:
RewriteEngine On
RewriteCond %{HTTP:Authorization} .+
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Solution 2:
#SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1