Results 1 to 4 of 4

Thread: .htaccess and sub dirs

  1. #1
    HEXUS.social member Agent's Avatar
    Join Date
    Jul 2003
    Location
    Internet
    Posts
    19,185
    Thanks
    739
    Thanked
    1,614 times in 1,050 posts

    .htaccess and sub dirs

    There has to be a a simple command to stop a .htaccess file from relaying its properties to any sub-directory's?

    At the moment I'm just placing a correct one in each sub-dir, but its time consuming. More so when they need updating

    Cheers
    Quote Originally Posted by Saracen View Post
    And by trying to force me to like small pants, they've alienated me.

  2. #2
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts

    Re: .htaccess and sub dirs

    from memory (quite old now, gave up on the horrifically bad 2.0) you can't do this.

    it doesn't make sense from their design point of view, that you would have \foo and want to have a different \bar that didn't inherit the parents properties. Kinda makes sense.

    look at the mod rewrite options if its your box, you could hack it with that perhaps?
    throw new ArgumentException (String, String, Exception)

  3. #3
    TiG
    TiG is offline
    Walk a mile in other peoples shoes...
    Join Date
    Jul 2003
    Location
    Questioning it all
    Posts
    6,213
    Thanks
    45
    Thanked
    48 times in 43 posts

    Re: .htaccess and sub dirs

    Just to ditto TA, inheritence from what i remember of a system i dealt with doing loads of CC payments, inheritence is supposed to be allowed always. I'm not aware of anything you can do to turn it off.

    TiG
    -- Hexus Meets Rock! --

  4. #4
    Large Member
    Join Date
    Apr 2004
    Posts
    3,720
    Thanks
    47
    Thanked
    99 times in 64 posts

    Re: .htaccess and sub dirs

    You should instead configure the directory configuration in the server conf file. Not to mention you should almost always setup directory configurations in the server config file anyway.
    To err is human. To really foul things up ... you need a computer.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •