PHP Questions Home | Register | Login
Categories
Arrays
Files
Forms
Creating PDFs
PHP Errors
Functions
Images
MySQL
Numbers
Others
Strings
Website
Unanswered

PHP Forums
Forums Index
MySQL Forum
PHP Forum
Flash/Actionscript
Javascript
Web design

More PHP
PHP Functions
Top Questions
Ask a Question
PHP Interview Questions
PHP Jobs
Ecommerce
IT Questions
Business Websites

Sponsors

sponsor ad
My Salary
PHP Developer Salary
Advertise Here

What is a .htaccess file?


The .htaccess file tells the server how to interpret requests that are made to it.

It is not actually related to PHP so is strictly off-topic for this site.

However, it can be used to control access to a server, for instance requiring authentication to access certain folders on the server.

It can also be used to handle server re-writes if you want to use so-called 'friendly URLs' - how this works depends on the server configuration, with PHP on an Apache server you can find out more by searching for mod-rewrite on your search engine of choice.

It can also be used to tell the server how to handle requests for pages that do not exist, how to cache and treat images and much, much more besides.


Comment on this Question and Answer >>>

ASK A QUESTION

More website PHP Questions

Hello - I am writing a PHP program to control an external camera connected to the USB port. For example I issue commands such as 'up', 'down', etc via an external program that I call using exec("cameracontrol.exe"). I would like to store

where do i go to paste my google adsense code?

How do I make sure an include file exists before loading the page?

How can I use sessions in PHP?

where do i go to paste my google adsense code?



Custom Search