... showing all entries tagged htaccess
Below you will find all posts tagged htaccess ↓
h4x3d.com does not host any illegal content. Links/Files referred to are for educational purposes only.
Compressing moo.tools (javascript) even further
April 25th, 2007 by jezMoo.tools is neat, I love it and use it whenever I can, but one thing is still bugging me: its size.
Even though moo.tools can be downloaded compressed (using the great php5 version of dean edward’s packer), I personally find 18kb of javascript too much.
So I started researching a bit with Google and found out different [...]
.htaccess cheat sheet
September 12th, 2005 by jezTags: cheat sheet, code, htaccess, modrewrite
Here is a simple cheatsheet for the .htaccess file:
Enable Directory Browsing
Options +Indexes
## block a few types of files from showing
IndexIgnore *.wmv *.mp4 *.aviDisable Directory Browsing
Options All -IndexesCustomize Error Messages
ErrorDocument 403 /forbidden.html
ErrorDocument 404 /notfound.html
ErrorDocument 500 /servererror.htmlGet SSI working with HTML/SHTML
AddType text/html .html
AddType text/html .shtml
AddHandler server-parsed .html
AddHandler server-parsed .shtml
# AddHandler server-parsed .htmChange Default Page (order is followed!)
DirectoryIndex [...]



