Jason Lindquist (jlindquist) wrote,
Jason Lindquist

Apache revealing dotfiles

Just a reminder... if you're using Apache to offer listings of directories, and those directories may be mounted by an OS X host, you probably don't want to publish any dotfiles that OS X creates (like .DS_Store) to the world. afpd will MIME-translate the dots, so they start :2e. It's beneficial to add this to your httpd.conf:

# Prevent OS X-created dotfiles from being presented

<FilesMatch "^:2e">
    Order allow,deny
    Deny from all
    Satisfy All

  • Aurora reference

    For reference, the only two links I could find on Aurora shooter (and Westview '06 grad) James Holmes, prior to his attendance at Westview being…

  • Your friend, FunnyJunk.com

    If you've never heard of funnyjunk.com, it's run by a content thief. It's a haven for incompetence, stupidity, and douchebaggery. Site owner…

  • X-header crap

    It is ridiculous how big this section of my .muttrc has gotten. Every goddamned special snowflake mailer has to have its own collection of…

  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.