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
993
posted 13 years ago by Huskie
(98)Address already in use: make_sock: could not bind to address [::]:80
0
769
posted 13 years ago by dan532
you want to block other sites to hotlink your images or media files.
0
880
posted 13 years ago by silviud
Add these lines to your .htaccess file to increase PHPs file upload size limit to 20Mb
0
1020
posted 13 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
804
posted 13 years ago by manuelpedrera
also requires an .htpasswd file to be created in a secure directory
0
810
posted 13 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
1019
posted 13 years ago by demwunz
Found answer here: http://community.godaddy.com/groups/web-hosting/forum/topic/ogv-in-firefox-for-html5-video/
0
881
posted 13 years ago by benjaminpearson
Place directly below 'RewriteEngine On' to ensure that no other redirects interfere with it.
0
788
posted 13 years ago by batfan