Search for:
Jump to: 
Your Ad Here
Post new topic Reply to topic
Author Message
 Post subject: what is .htaccess in php
PostPosted: Thu Jul 31, 2008 12:21 pm 
Offline

Joined: Tue May 13, 2008 3:43 am
Posts: 213
Hi friends,

What is the .htaccess file in php and how can we create it.


thanks in advance


Top
 Profile  
 
 Post subject: What is .htaccess in php
PostPosted: Thu Jul 31, 2008 12:25 pm 
Offline

Joined: Mon Nov 12, 2007 10:12 am
Posts: 355
hi rajkumar,

htaccess files can give you extra control over your server, allowing you to password protect directories, enable server side includes, generate custom error messages, and block users by IP address among other things. (See this Guide to .htaccess for more information.)

An htaccess file is a simple ascii text file which you create or edit in a text editor. The dot (.) before the word htaccess indicates that .htaccess is a file extension. Some text editors will add on an additional .txt file extension when you save your document. When you upload it to your server however, make sure the final file is named .htaccess and set the file's permissions to 644. The (.) in .htaccess also makes the file "hidden" on a unix server. Some FTP clients do not show the .htaccess because of its hidden status. For such FTP clients you will need to specify the "-a" parameter which displays all files including those that are hidden.


Top
 Profile  
 
 Post subject: Re: what is .htaccess in php
PostPosted: Wed Nov 21, 2012 10:51 am 
Offline

Joined: Mon Nov 05, 2012 5:56 am
Posts: 8
One use of the .htaccess file is to redirect users to a custom error page depending on the specific web server error they encounter. By using a custom error page, you can present them with a list of your site's top articles, a sitemap with links to the various areas of your site, and it can include your site's navigation system.

_________________
php web application development | PHP development | php mysql development | cakephp developers


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic    [ 3 posts ] 

1, 2, 3, 4, 5 ... 413
Recent topics  Replies   Views   Last post 
No new posts How to Convert DVD and Video to Your iphone 4,iphone 4 to pc

by smsbackuper » Wed May 18, 2011 8:11 am in PHP-Code Help

2

1443

Thu May 23, 2013 6:39 am

greenwoove View the latest post

No new posts Jquery ajax Pagination using php

by rajkumar » Tue Apr 19, 2011 11:14 am in Coding Repository

8

17625

Mon May 20, 2013 2:46 am

gfsdfg View the latest post

No new posts How to upgrade and migrate Joomal site

by mallikharjuna rao » Mon Jan 21, 2013 1:40 pm in Joomla

1

369

Thu May 16, 2013 9:53 am

sunitha12 View the latest post

No new posts Benefits of PHP

by hirephpexpert » Fri Sep 07, 2012 4:41 am in CakePHP

6

1622

Wed May 15, 2013 6:25 am

PrettyPrincesG View the latest post

No new posts How to stop user from getting registered in Joomla

by mallikharjuna rao » Tue Jan 22, 2013 5:16 am in Joomla

3

1610

Wed May 15, 2013 6:17 am

PrettyPrincesG View the latest post


Your Ad Here