Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    htaccess question

    I'm trying to limit access to a directory, but I'm having trouble finding info on what I'm trying to do. Basically I'd like to limit access to this certain directory to two forums. This is what I have so far.

    Code:
    AuthUserFile /dev/null
    AuthGroupFile /dev/null
    AuthName "stuff"
    AuthType Basic
    
    <Limit GET>
    order deny,allow
    deny from all
    allow from myhost.com
    allow from secondhost.com
    </Limit>

  • #2
    Regular Coder
    Join Date
    Feb 2005
    Location
    UK
    Posts
    133
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Are you trying to stop people from hotlinking? I.e. is it an images folder that you don't want people from other forums using?


  •  

    Posting Permissions

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