Web Hosting Forum - A Web Hosting community for Webmasters


Divi WordPress Theme

Author Topic: concept of .htaccess  (Read 1009 times)

0 Members and 1 Guest are viewing this topic.

Offline aaron88737

  • Newbie
  • *
  • Posts: 1
  • iTrader: +0/-0
    • View Profile
concept of .htaccess
« on: August 21, 2014, 05:12:00 AM »
Hello,

Please let me know the concept of .htaccess and what contents we have to insert into it

VPS Hosting - AccuWebHosting

Offline Kailash

  • Administrator
  • Web Hosting Master
  • *****
  • Posts: 601
  • iTrader: +153/-0
    • View Profile
Re: concept of .htaccess
« Reply #1 on: August 21, 2014, 10:06:49 AM »
.htaccess file can be used for various purposes as follow:

- You can write Apache rewrite rules to rewrite your URLs (dynamic to static)
- You can write rewrite rule for the URL redirection
- You can restrict the directory access to certain IP address only
- You can overwrite PHP settings using .htaccess (provided your server is configured in that way)

- Kailash

Offline Web_news

  • Premium Member
  • New Member
  • *****
  • Posts: 44
  • iTrader: +5/-0
    • View Profile
Re: concept of .htaccess
« Reply #2 on: August 21, 2014, 11:18:41 AM »
In addition to above, it is also possible to prevent executing any file extension (i.e. .pl, .cgi etc) using .htaccess and you can also set expiry for static contents using .htaccess (provided you have installed necessary apache modules).

Offline DouglasSmith

  • New Member
  • *
  • Posts: 18
  • iTrader: +0/-0
  • Hello! I am Douglas Smith.
    • View Profile
    • http://poweruphosting.com/dedicated-servers
Re: concept of .htaccess
« Reply #3 on: September 30, 2014, 04:16:51 PM »
Generally we use .htaccess file when you don't have access to the main server configuration file. It is common configuration that user generally used for authentication should done. Well .htaccess file should be used in the case where the content providers will need to change the configuration.

Offline MurielCalzada

  • New Member
  • *
  • Posts: 11
  • iTrader: +0/-0
    • View Profile
Re: concept of .htaccess
« Reply #4 on: November 25, 2014, 07:14:25 PM »
The .htacess is a file directory level configuration file which is supported by several web users. This will allow for decentralized management of web servers.

Divi WordPress Theme
Tags:
 

Related Topics

  Subject / Started by Replies Last post
0 Replies
2809 Views
Last post August 21, 2008, 06:49:08 PM
by Kevin
1 Replies
5076 Views
Last post October 26, 2008, 08:17:33 AM
by Kailash
1 Replies
3418 Views
Last post December 30, 2008, 09:57:32 AM
by Kailash
1 Replies
5399 Views
Last post December 30, 2008, 10:08:35 AM
by Kailash
2 Replies
1143 Views
Last post March 20, 2014, 02:54:58 PM
by Rick