Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthormista3
    • CommentTimeNov 12th 2006
     permalink
    Just wondering if I can tweak my htaccess settings, so that I can browse directories, but only from certain IPs. eg my home or work computer

    Can't figure it out though!

    Cheers,

    mista3
    •  
      CommentAuthorchristopher
    • CommentTimeNov 13th 2006 edited
     permalink
    Can't you use something along the lines of:

    <Limit GET>
    order deny,allow
    allow from 123.456.789.0
    allow from 123.45.67
    deny from all
    </Limit>


    That would allow the IP address 123.456.789.0 and any IP addresses starting with 123.456.67 and deny access to everyone else.

    Edit: Also do NOT put a space before or after the comma in "allow,deny" as the server will consider this as a syntax error and will not allow anyone to access the directory.
Add your comments
    Username Password
  • Format comments as (Help)