Merlin’s weekly podcast with Dan Benjamin. We talk about creativity, independence, and making things you love.
Merlin’s weekly podcast with Dan Benjamin. We talk about creativity, independence, and making things you love.
”What’s 43 Folders?”
43Folders.com is Merlin Mann’s website about finding the time and attention to do your best creative work.
Fun and functional ways to trick out your htaccess file
Merlin Mann | Nov 22 2006
Stupid htaccess Tricks « Perishable Press This is a terrific collection of tricks for hacking on your Apache htaccess file, including some very useful ways to save bandwidth, control site access, and generate havoc. I have been known to do some "creative" forwarding based on referrers from time to time, and if you're in the mood to play a bit of psychedelic traffic cop with your own hosted site, there's enough here to keep you busy through the holiday weekend. This one's an old favorite, from which bandwidth can be conserved, leeches can be smote, and hilarity can ensue: > Stop Hotlinking, Serve Alternate Content > To serve ‘em some unexpected alternate content when hotlinking is detected, employ the following code, which will protect all files of the types included in the last line (add more types as needed). Remember to replace the dummy path names with real ones. Also, the name of the nasty image being served in this case is “eatme.jpe”, as indicated in the line containing the >
1 Comment
POSTED IN:
[...] Okay, the titles a...Submitted by O’Flaherty - » 43 .htaccess tricks (not verified) on November 22, 2006 - 1:20pm.
[...] Okay, the titles a little inaccurate but 43 Folders posted a link to a great Wikipedia article full of .htaccess goodness. [...] » POSTED IN:
|
|
EXPLORE 43Folders | THE GOOD STUFF |