function of htaccess in php

It is for static page, dynamic page, website, SEO, performance and other web development discussion
denish
Posts: 32
Joined: Fri Sep 19, 2014 5:34 am
Contact:

function of htaccess in php

Postby denish » Wed Oct 15, 2014 9:27 am

What is htaccess? Why do we use this and Where?


Guest

Re: function of htaccess in php

Postby Guest » Wed Oct 29, 2014 6:04 pm

.htaccess is a configuration file for use on web servers running the Apache Web Server software.

When a .htaccess file is placed in a directory which is in turn 'loaded via the Apache Web Server', then the .htaccess file is detected and executed by the Apache Web Server software.

These .htaccess files can be used to alter the configuration of the Apache Web Server software to enable/disable additional functionality and features that the Apache Web Server software has to offer.

These facilities include basic redirect functionality, for instance if a 404 file not found error occurs, or for more advanced functions such as content password protection or image hot link prevention.

Whenever any request is sent to the server it always passes through .htaccess file. There are some rules are defined to instruct the working.


Return to “PHP, HTML, MYSQL and Web Hosting”

Who is online

Users browsing this forum: No registered users and 2 guests