1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

What is .htaccess File?

Discussion in 'Site & Server Administration' started by Jessicamartin, Aug 16, 2016.

  1. #1
    Hello, please give me explain .htaccess file with Example
     
    Jessicamartin, Aug 16, 2016 IP
  2. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,642
    Likes Received:
    405
    Best Answers:
    21
    Trophy Points:
    295
  3. MechanicWeb-shoss

    MechanicWeb-shoss Active Member

    Messages:
    63
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #3
    It is essentially a file where you can put rules and values to modify that of PHP variables. Many providers these days do not allow modifying php.ini file, instead, you have .htaccess to modify the variables for php.ini.
     
    MechanicWeb-shoss, Oct 9, 2016 IP
  4. StackNetwork

    StackNetwork Peon

    Messages:
    19
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    3
    #4
    Essentially, it allows you to take directives that would normally be put in Apache's main configuration files, and put them in a directory-specific configuration file instead. They're mostly used in cases where you don't have access to the main configuration files (e.g. a shared host).

    But as MWEB mentioned you can use it for few other things too ...

    Thanks.
     
    StackNetwork, Oct 14, 2016 IP