Coding, Programming examples using amazing small applications only for educational purpose.
All Developing, Hacking & Cracking Codes with Bots
-
▼
2009
(57)
-
▼
January
(15)
- How to remove internet remembered passwords
- What is .htaccess file
- Credit Card And Internet
- Security Audit Log Is Full
- Enable/Disable taskmanager through registry
- NEWFOLDER.EXE VIRUS
- DOS ATTACK
- DOS & BATCH PROGRAMMING TIPS
- BLOCK UNWANTED SITE ON YOUR COMPUTER
- HACKING THROUGH WEB BROWSER
- HACK WINDOWS WITHOUT CHANGING PASSWORD
- Virus that Destroy The Whole Computer Silently : A...
- HACKERS SECRET
- VIRUS THAT NEED COMMAND.COM TO RUN
- Ten Simple Steps To Protect Your PC
-
▼
January
(15)
Sunday, January 4
What is .htaccess file
What is .htaccess file
Monday, December 8, 2008 at 10:22 PM Posted by SONU MISHRA
What is .hatccess file
.htacess stands for HyperText Access file.This is the default name of configuration file in the server side.It can also be placed in the directory whose security we want as it provides the ability to customize configuration for requests to the particular directory.
Although .htaccess is only a file, it can change settings on the servers and allow you to do many different things, the most popular being able to have your own custom 404 error pages. .htaccess isn't difficult to use and is really just made up of a few simple instructions in a text file.
.htaccess files are often used to specify the security restrictions for the particular directory, hence the filename "access." The .htaccess file is often accompanied by an .htpasswd file which stores valid usernames and their passwords.
Use of .htaccess file
1)Authorization and Authentication.
.htaccess files are often used to specify the security restrictions for the particular directory, hence the filename "access." The .htaccess file is often accompanied by an .htpasswd file which stores valid usernames and their passwords.
2)Customized error responses
Changing the page that is shown when a server-side error occurs, for example HTTP 404 Not Found.
These are some of the most common errors:
401 - Authorization Required
400 - Bad request
403 - Forbidden
500 - Internal Server Error
404 - Wrong page
3)Cache Control
.htaccess files allow a server to control User agent caching used by web browsers to reduce bandwidth usage, server load, and perceived lag.
4)Rewriting URLs
Servers often use .htaccess to rewrite "ugly" URLs to shorter and prettier ones.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment