mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 17:42:29 -04:00
Hide Patrons Circle polls behind login
This commit is contained in:
parent
dbc2fd5fcd
commit
edd032be2c
3 changed files with 32 additions and 23 deletions
|
@ -283,7 +283,7 @@ Define webroot /standardebooks.org/web
|
|||
# HTTP Basic Auth configuration for:
|
||||
# /patrons-circle/downloads
|
||||
# /feeds
|
||||
<DirectoryMatch "^${webroot}/www/(patrons-circle/downloads|feeds/(opds|rss|atom).*)">
|
||||
<DirectoryMatch "^${webroot}/www/(patrons-circle|feeds/(opds|rss|atom))">
|
||||
AuthType Basic
|
||||
AuthName "Enter your Patrons Circle email address and leave the password empty."
|
||||
Require valid-user
|
||||
|
@ -307,8 +307,8 @@ Define webroot /standardebooks.org/web
|
|||
"
|
||||
</DirectoryMatch>
|
||||
|
||||
# Specific config for /patrons-circle
|
||||
<DirectoryMatch "^${webroot}/www/patrons-circle">
|
||||
# Specific config for /patrons-circle/downloads
|
||||
<DirectoryMatch "^${webroot}/www/patrons-circle/downloads">
|
||||
<FilesMatch "\.php$">
|
||||
# Disable HTTP Basic auth for the index and 401 pages
|
||||
Require all granted
|
||||
|
@ -320,7 +320,7 @@ Define webroot /standardebooks.org/web
|
|||
</DirectoryMatch>
|
||||
|
||||
# Specific config for /feeds
|
||||
<DirectoryMatch "^${webroot}/www/feeds/(opds|rss|atom).*">
|
||||
<DirectoryMatch "^${webroot}/www/feeds/(opds|rss|atom)">
|
||||
ErrorDocument 401 /feeds/401
|
||||
|
||||
<FilesMatch "^(style\.php|new-releases\.xml|index\.php|index\.xml)$">
|
||||
|
|
|
@ -265,7 +265,7 @@ Define webroot /standardebooks.org/web
|
|||
# HTTP Basic Auth configuration for:
|
||||
# /patrons-circle/downloads
|
||||
# /feeds
|
||||
<DirectoryMatch "^${webroot}/www/(patrons-circle/downloads|feeds/(opds|rss|atom).*)">
|
||||
<DirectoryMatch "^${webroot}/www/(patrons-circle|feeds/(opds|rss|atom))">
|
||||
AuthType Basic
|
||||
AuthName "Enter your Patrons Circle email address and leave the password empty."
|
||||
Require valid-user
|
||||
|
@ -289,8 +289,8 @@ Define webroot /standardebooks.org/web
|
|||
"
|
||||
</DirectoryMatch>
|
||||
|
||||
# Specific config for /patrons-circle
|
||||
<DirectoryMatch "^${webroot}/www/patrons-circle">
|
||||
# Specific config for /patrons-circle/downloads
|
||||
<DirectoryMatch "^${webroot}/www/patrons-circle/downloads">
|
||||
<FilesMatch "\.php$">
|
||||
# Disable HTTP Basic auth for the index and 401 pages
|
||||
Require all granted
|
||||
|
@ -302,7 +302,7 @@ Define webroot /standardebooks.org/web
|
|||
</DirectoryMatch>
|
||||
|
||||
# Specific config for /feeds
|
||||
<DirectoryMatch "^${webroot}/www/feeds/(opds|rss|atom).*">
|
||||
<DirectoryMatch "^${webroot}/www/feeds/(opds|rss|atom)">
|
||||
ErrorDocument 401 /feeds/401
|
||||
|
||||
<FilesMatch "^(style\.php|new-releases\.xml|index\.php|index\.xml)$">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue