Welcome To Snipplr


Everyone's Recent Apache Snippets



1 2 3 4 5 ... 9
I found this useful. Works as expected.
0 474 posted 11 years ago by RainyDayMedia
Rrewrite "www.domain.com -> domain.com" and viceversa
1 762 posted 11 years ago by macodev
0 478 posted 11 years ago by justinscheetz
Redirect from the root of the site to another URL.
0 429 posted 11 years ago by ToddSmithSalter
Rewrites "www.site.com/xyz" to "index.php?who=xyz"
0 344 posted 11 years ago by chopbust
Useful for WordPress installations that need more than 32M of memory
0 593 posted 11 years ago by Huskie
(98)Address already in use: make_sock: could not bind to address [::]:80
0 458 posted 11 years ago by dan532
you want to block other sites to hotlink your images or media files.
0 379 posted 11 years ago by silviud
Add these lines to your .htaccess file to increase PHPs file upload size limit to 20Mb
0 599 posted 11 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 443 posted 11 years ago by manuelpedrera
0 408 posted 11 years ago by manuelpedrera
0 410 posted 11 years ago by manuelpedrera
also requires an .htpasswd file to be created in a secure directory
0 434 posted 11 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 639 posted 11 years ago by demwunz
Found answer here: http://community.godaddy.com/groups/web-hosting/forum/topic/ogv-in-firefox-for-html5-video/
0 534 posted 11 years ago by benjaminpearson
0 390 posted 11 years ago by dan_hoerr
Site Down For Maintenance
0 453 posted 11 years ago by macodev
Place directly below 'RewriteEngine On' to ensure that no other redirects interfere with it.
0 454 posted 11 years ago by batfan
Some url rewriting snippets
1 372 posted 11 years ago by marzsman
0 461 posted 11 years ago by zac
1 497 posted 11 years ago by neoandroid
1 2 3 4 5 ... 9