In simple word we can say .htaccess is a configuration file for application which is running on Apache Web Server. .htaccess file is detected and executed by the Apache Web Server. This can be used to enable/disable additional functionality and feature offered by Apache web Server.
Some uses explain below shortly
Redirects :-
redirects is use to when you moved your web site content to new location it is help's user to redirect old link to new link
Password protection :-
This is used for protected your directory from unauthorized users. you can give user name and password for loading site or directory.
Deny Visitors by IP address :-
This is extremely useful for blocking unwanted visitors, or to only allow the web site owner access to certain sections of the web site.
Preventing access to your PHP includes files :-
If you have a directory containing PHP includes, that you do not wish to be accessed directly from the browser, there is a way of disabling the directory using Mod_Rewrite.
URL rewriting :-
This is useful for removing index.php, extension from url.
Some uses explain below shortly
Redirects :-
redirects is use to when you moved your web site content to new location it is help's user to redirect old link to new link
Password protection :-
This is used for protected your directory from unauthorized users. you can give user name and password for loading site or directory.
Deny Visitors by IP address :-
This is extremely useful for blocking unwanted visitors, or to only allow the web site owner access to certain sections of the web site.
Preventing access to your PHP includes files :-
If you have a directory containing PHP includes, that you do not wish to be accessed directly from the browser, there is a way of disabling the directory using Mod_Rewrite.
URL rewriting :-
This is useful for removing index.php, extension from url.
No comments:
Post a Comment