Skip to content

Commit

Permalink
add .htaccess
Browse files Browse the repository at this point in the history
Deny access to default simpleSAMLphp page
  • Loading branch information
damikael authored Sep 26, 2022
1 parent d1a6cd9 commit 63e2e85
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions setup/simplesamlphp/simplesamlphp/www/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
SetEnvIfNoCase Request_URI "module.php/saml/sp/metadata.php/service" metadata
SetEnvIfNoCase Request_URI "module.php/saml/sp/saml2-acs.php/service" login
SetEnvIfNoCase Request_URI "module.php/saml/sp/saml2-logout.php/service" logout

Order Deny,Allow
Deny from All
Allow from env=metadata
Allow from env=login
Allow from env=logout

0 comments on commit 63e2e85

Please sign in to comment.