Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
documentation:2.1:writingrulesand_headers [2020/05/06 17:17]
xguimard [Wildcards in hostnames]
documentation:2.1:writingrulesand_headers [2020/05/08 22:29] (current)
cmaudoux [Rules]
Line 31: Line 31:
 | Deny access to /config/ directory ​ |  <​nowiki>​^/​config/</​nowiki> ​ |  deny  | | Deny access to /config/ directory ​ |  <​nowiki>​^/​config/</​nowiki> ​ |  deny  |
 | Do not restrict /​public/ ​ |  <​nowiki>​^/​public/</​nowiki> ​ |  skip  | | Do not restrict /​public/ ​ |  <​nowiki>​^/​public/</​nowiki> ​ |  skip  |
 +| Do not restrict /skip/ and restrict other to authenticated users  |  <​nowiki>​^/​skip/</​nowiki> ​ | $ENV{REQUEST_URI} =~ /skip/ ? skip : 1 |
 | Makes authentication optional, but authenticated users are seen as such (that is, user data are sent to the app through HTTP headers) ​ |  <​nowiki>​^/​forum/</​nowiki> ​ |  unprotect ​ | | Makes authentication optional, but authenticated users are seen as such (that is, user data are sent to the app through HTTP headers) ​ |  <​nowiki>​^/​forum/</​nowiki> ​ |  unprotect ​ |
 | Restrict access to the whole site to users that have the LDAP description field set to "LDAP administrator"​ (must be set in exported variables) ​ |  default ​ |  <​html>​$description&​nbsp;​eq&​nbsp;"​LDAP&​nbsp;​administrator"</​html> ​ | | Restrict access to the whole site to users that have the LDAP description field set to "LDAP administrator"​ (must be set in exported variables) ​ |  default ​ |  <​html>​$description&​nbsp;​eq&​nbsp;"​LDAP&​nbsp;​administrator"</​html> ​ |