.htaccess tips & tricks
Autor: Corz.org
Licenca: © 2010 « corz.org, bez podataka o konkretnoj licenci
.htaccess tips and tricks
more .htaccess tips and tricks
Veliki broj saveta i trikova za .htacces sa primerima. Vidi ispod za sadržaj.
Citat:This work in constant progress is some collected wisdom, stuff I've learned on the topic of .htaccess hacking, commands I've used successfully in the past, on a variety of server setups, and in most cases still do. You may have to tweak the examples some to get the desired result, though, and a reliable test server is a powerful ally, preferably one with a very similar setup to your "live" server.
Sadržaj (I deo):
Introduction to .htaccess
What are .htaccess files anyway?
Is .htaccess enabled?
What can I do with .htaccess files?
Control access
Custom error documents
Password protected directories
500 error
Groovy things to do with .htaccess
custom directory index files
Save bandwidth with .htaccess!
Hide and deny files
<FilesMatch>
More stuff
over to you
Sadržaj (II deo):
redirecting and rewriting
beginning rewriting
simple rewriting
not-so-simple rewriting... flat links and more
shortening URLs
capturing variables
cooler access denied
Ban User Agents, referrers, script-kiddies and more..
prevent hot-linking
lose the "www"
multiple domains in one root
automatic translation
httpd.conf
inheritance
cookies
conclusion
troubleshooting tips
|