Mastering .htaccess files

Here is some link on .htaccess. On Apache webservers, .htaccess files can be very handy (especially if you don't have admin rights on your webserver). Adding simple instructions in a file named .htaccess allows you to do many things. Among others:
  • Redirecting a web page to another
  • Handling errors and using custom-made error pages (for example, a 404 page like these)
  • Password-protect a page or directory
  • Prevent your directory to be indexed (and show its content to the world)

Comments

Post a Comment

Popular Posts