What Is .htaccess File?

Discussion in 'Apache' started by aarkstore, Jan 31, 2013.

  1. #1
    what is .htaccess file? use of this file?
     
    Last edited: Jan 31, 2013
    aarkstore, Jan 31, 2013 IP
  2. shand0

    shand0 Well-Known Member

    Messages:
    1,336
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    148
    #2
    It's used to redirect url to another or new url address
     
    shand0, Jan 31, 2013 IP
  3. aarkstore

    aarkstore Greenhorn

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #3
    Thnx for support .
    what is .htaccess file? use of this file? brefily
     
    aarkstore, Jan 31, 2013 IP
  4. Anand85

    Anand85 Active Member

    Messages:
    252
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    #4
    Hypertext Access, commonly shortened to htaccess,
    They are placed inside the web tree, and are able to override a subset of the server's global configuration for the directory that they are in, and all sub-directories.

    For more information check this useful resources
    http://en.wikipedia.org/wiki/Htaccess
    http://www.htaccessbasics.com/
     
    Anand85, Jan 31, 2013 IP
  5. tnhcatherine

    tnhcatherine Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #5
    You can also deny and allow Ip in .htaccess which you do not want access your website.
     
    tnhcatherine, Feb 13, 2013 IP
  6. ryan_uk

    ryan_uk Illustrious Member

    Messages:
    3,983
    Likes Received:
    1,022
    Best Answers:
    33
    Trophy Points:
    465
    #6

    Read here.

    It's amazing what a Google search turns up.
     
    ryan_uk, Feb 14, 2013 IP
  7. cesurasean

    cesurasean Active Member

    Messages:
    269
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #7
    an htaccess file can do many things. redirect, handle errors, write custom url's, block access to users, authenticate users, hide webpages, etc.....
     
    cesurasean, Feb 19, 2013 IP