diff options
author | Craig Andrews <candrews@integralblue.com> | 2010-01-05 17:47:37 -0500 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2010-01-05 17:49:28 -0500 |
commit | 250bcfa8dc3ebf3c2c8458f363a62c529eb3a7f6 (patch) | |
tree | 4fd0fb9272a06f38bc3ba7a9522015b92fdd224f /htaccess.sample | |
parent | 7e01bb8d4f9036a7e1638aa7ba325f7660b5b086 (diff) |
Require users to login to view attachments on private sites
Thank you jeff-themovie for this implementation!
Diffstat (limited to 'htaccess.sample')
-rw-r--r-- | htaccess.sample | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/htaccess.sample b/htaccess.sample index 91ae9da9b..37eb8e01e 100644 --- a/htaccess.sample +++ b/htaccess.sample @@ -5,14 +5,6 @@ RewriteBase /mublog/ - # If your site is private and want to only allow logged-in users to - # be able to download file attachments, uncomment this rule. - # - # If you have a custom attachment path - # ($config['attachments']['path']), change "file/" to match. - # - #RewriteRule ^file/(.*) getfile/$1 - RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule (.*) index.php?p=$1 [L,QSA] |