I need .htaccess help

Discussion in 'Programming' started by eric8476, Sep 13, 2009.

  1. #1
    I have a file that I would like to avoid .htaccess that is in the root. How do I do that?
     
    eric8476, Sep 13, 2009 IP
  2. ohteddy

    ohteddy Member

    Messages:
    128
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #2
    If you tell me more about your problem I may be able to help.
     
    ohteddy, Sep 13, 2009 IP
  3. Digital Linx

    Digital Linx Peon

    Messages:
    74
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    
    <Files somefile.ext>
    order deny,allow
    deny from all
    </Files> 
    
    Code (markup):
    This should work
     
    Digital Linx, Sep 15, 2009 IP
  4. eric8476

    eric8476 Active Member

    Messages:
    1,547
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    78
    #4
    change "somefile" to the file
     
    eric8476, Sep 15, 2009 IP
  5. wanay11

    wanay11 Well-Known Member

    Messages:
    203
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #5
    please tell more detail what do you mean
     
    wanay11, Sep 15, 2009 IP
  6. eric8476

    eric8476 Active Member

    Messages:
    1,547
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    78
    #6
    my hosting allows more than one domain and the primary domain on the hosting has a url rewrite .htaccess file in the root that effects the other domains.
     
    eric8476, Sep 15, 2009 IP