Welcome To Snipplr


Everyone's Recent Apache Snippets



2 1366 posted 15 years ago by steho
# minimize image flicker in IE6
0 1177 posted 15 years ago by steho
## If visitor calls directory only, i.e. /en/ ## he will be forwarded to the index.php in this folder ## as directory listing is deactivated
0 1285 posted 15 years ago by steho
Changes domainname.tld into www.domainname.tld
1 1154 posted 15 years ago by steho
Protects htaccess file to be read
0 1197 posted 15 years ago by steho
This code will redirect all requests to a maintenance page
0 1115 posted 15 years ago by IvoTrompert
1 1109 posted 15 years ago by terrencewood
0 1116 posted 15 years ago by batfan
I borrowed the script from the Dreamhost-wiki and did a minor change towards any folder.
0 1182 posted 15 years ago by koko
0 1078 posted 15 years ago by stuntsnippets
This is good for ensuring your domain is always either accessed with or without the www, which is important for SEO. It is also good if you have multiple domains that should resolve to the same site, and can redirect all requests to the main domain.
2 1436 posted 15 years ago by beneberle
1 1158 posted 15 years ago by jmacgr
block evil incarnate query strings
0 1101 posted 15 years ago by j4kp07
Currently, multisite is easiest to setup under the following conditions: 1) WordPress for main site installed in the root directory 2) Each additional network site is created in its own subdirectory
0 1234 posted 15 years ago by j4kp07
1 1162 posted 15 years ago by bluematt
Replace "mysite" with your own and this will block access to sites attempting to link to your images. Note, it's not necessarily always a bad thing for people to link to your images. If you run a blog, portfolio, or sales gallery, etc, you may actual...
2 1705 posted 15 years ago by josephknight
The problem As a WordPress user, you probably know how important the wp-config.php file is. This file contains all of the information required to access your precious database: username, password, server name and so on. Protecting the wp-config.php...
0 1392 posted 15 years ago by josephknight
The problem Protecting dynamic websites is especially important. Most developers always protect their GET and POST requests, but sometimes this is not enough. We should also protect our blog against script injections and any attempt to modify the PH...
3 1767 posted 15 years ago by josephknight
0 1078 posted 15 years ago by jeromegamez