diff options
Diffstat (limited to 'htaccess.sample')
-rw-r--r-- | htaccess.sample | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/htaccess.sample b/htaccess.sample index 37eb8e01e..373108c81 100644 --- a/htaccess.sample +++ b/htaccess.sample @@ -5,6 +5,14 @@ RewriteBase /mublog/ + # If your site is private and want access to file attachments + # restricted to logged-in users only, 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] |