diff options
author | Evan Prodromou <evan@status.net> | 2009-10-31 14:45:46 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-10-31 14:45:46 -0400 |
commit | 65cbf05f607a93f4eb34e0019035cc167e2ef032 (patch) | |
tree | 4fad21845e4996e979f70b2e99aa96a1f30f8ee3 /htaccess.sample | |
parent | f36162b218cd86a9281da2b5c50dc8db91e23ad5 (diff) |
Revert "Revert "Added some explanatory text to README""
This reverts commit 446de62d02f372b6755237ae61e08bfcd4bf5100.
Conflicts:
README
htaccess.sample
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] |