depicus

changing the digital world one bit at a time...

Blants (noun) the rants of a blogger

Stop Apache serving .DS_Store files – or any files

May 19, 2011 by The Man

If you view or copy files from a Mac to a webserver it will place .DS_Store files in that directory. To fix add in your http.conf or .htaccess file


    Order allow,deny
    Deny from all
    Satisfy All

Then restart Apache for this to kick in.