My host doesnt accept .htaccess

Discussion in 'Site & Server Administration' started by domainseller_1, Jan 20, 2008.

  1. #1
    my host doesnt accept .htaccess is there any way i can upload that file?
     
    domainseller_1, Jan 20, 2008 IP
  2. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #2
    FTP the htaccess file to your server,but keep in mind that change the name to something else first and rename it when you've uploaded it.
     
    Richie_Ni, Jan 20, 2008 IP
  3. domainseller_1

    domainseller_1 Banned

    Messages:
    498
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    it says access denied when i try to rename it
     
    domainseller_1, Jan 20, 2008 IP
  4. futhey

    futhey Peon

    Messages:
    389
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yup, sounds like this specific process is blocked by your host.

    What control panel are you using?
     
    futhey, Jan 20, 2008 IP
  5. oc-scott

    oc-scott Active Member

    Messages:
    420
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    68
    #5
    If your host doesn't accept .htaccess files, then it seems the PHP is compiled as CGI in your server. You would be able to use php.ini file instead of .htaccess.

    Please let us know the exact thing you wanted to add with .htaccess files so that we could help you.
     
    oc-scott, Jan 20, 2008 IP
  6. tsc

    tsc Well-Known Member

    Messages:
    429
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    110
    #6
    Thats exactly what I did. At my previous hosting I had to use .htaccess to get some pages to load properly.

    But at my new hosting .htaccess when uploaded completely knackered access to the pages. I had a look in my root dir and found a php.ini with the same text as the .htaccess but with the values of OFF. I set these to ON and all was well.
     
    tsc, Jan 21, 2008 IP