Welcome To Snipplr
Everyone's Recent Apache Snippets
- All /
 - JavaScript /
 - HTML /
 - PHP /
 - CSS /
 - Ruby /
 - Objective C
 
Useful for WordPress installations that need more than 32M of memory
        
        
        
            0 
        
        
            1529 
        
                    posted 14 years ago by Huskie
            (98)Address already in use: make_sock: could not bind to address [::]:80
        
        
        
            0 
        
        
            1168 
        
                    posted 14 years ago by dan532
            you want to block other sites to hotlink your images or media files.
        
        
        
            0 
        
        
            1303 
        
                    posted 14 years ago by silviud
            Add these lines to your .htaccess file to increase PHPs file upload size limit to 20Mb
        
        
        
            0 
        
        
            2437 
        
                    posted 14 years ago by shodan_uk
            When offering some files such as mp3s, eps or xls, for download on your site, you may force download instead of letting the browser decide what to do.
This snippet will force the download of .xls and .eps files from your server.
        
        
        
            0 
        
        
            2082 
        
                    posted 14 years ago by manuelpedrera
            also requires an .htpasswd file to be created in a secure directory
        
        
        
            0 
        
        
            2187 
        
                    posted 14 years ago by ropehead
            This rule allows you to embed fonts cross domain. Especially good when you are serving your fonts from a CDN.
        
        
        
            0 
        
        
            1596 
        
                    posted 14 years ago by demwunz
            Found answer here: http://community.godaddy.com/groups/web-hosting/forum/topic/ogv-in-firefox-for-html5-video/
        
        
        
            0 
        
        
            1300 
        
                    posted 14 years ago by benjaminpearson
            Place directly below 'RewriteEngine On' to ensure that no other redirects interfere with it.
        
        
        
            0 
        
        
            1186 
        
                    posted 14 years ago by batfan