Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
...:::[TUTORIAL].htaccess - A way to keep secure[TUTORIAL]::...
#5
Very nice tutorial, easy follow, well formatted and well explained.

ErrorDocument is also good for custom error pages
Code:
ErrorDocument 500 /500.php
ErrorDocument 404 /404.php
ErrorDocument 403 /403.php
ErrorDocument 401 /401.php

Though, I think if your site gets attacked a lot, and you block at site level, you should use a small 403 page like "<u>403</u>: No access.".

Also
Code:
DirectoryIndex index.php default.php page.php *

Will set default pages for directory's, ordered by priority if the other isn't available, the "*" at the end, will issue a 403 if none are available, instead of listing out the directory, though, index page really shouldn't be missing any way.
Reply


Messages In This Thread
RE: ...:::[TUTORIAL].htaccess - A way to keep secure[TUTORIAL]::... - by Cida - 06-25-2010, 05:24 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tutorial] Rotating Signature Galaxy 0 663 10-24-2014, 09:47 AM
Last Post: Galaxy
  Unlimited Traffic to your site [Free][Tutorial] Jitty 3 1,185 04-16-2014, 08:56 AM
Last Post: cracker007
  HTML Video Tutorial Collection (7 Videos and growing) etcBro 1 712 06-05-2013, 08:44 AM
Last Post: Toxhicide
  How To Install A MyBB Theme [Written Tutorial] BreShiE 41 9,062 12-12-2011, 05:18 PM
Last Post: BreShiE
  000webhost Custom Error Pages Tutorial alabama 12 4,908 11-16-2011, 06:41 AM
Last Post: TalishHF

Forum Jump:


Users browsing this thread: 2 Guest(s)