All pastes #503842 Raw Edit

hazard

public text v1 · immutable
·published 2007-05-23 01:49 UTC
rendered paste body
#relivent apache config

# the files matching are for example ':2eDS_Store', the regex works, because the error log only indcates it, however the client machine can still get the file.

# if I download a test file directly with wget, it gives me forbbidden as it should

# however, it still shows up on the auto generated html pages, and can be downloaded from there (it seems)

# setup indexes & so on for webroot/gpbox
        <Directory /apache2/gpbox>
                Options +Indexes +FollowSymLinks
                # set nice view options
                IndexOptions +IgnoreCase +NameWidth=* +ShowForbidden +VersionSo$
                Order deny,allow
                deny from none
                allow from all
                # for netatalk (I hope)
                <Files ~ "^:2e">
                        Order allow,deny
                        Deny from all
                </Files>
        </Directory>