Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 7 of 7

Thread: .HTACCESS...

  1. #1
    Join Date
    Sep 2009
    Location
    Hull
    Posts
    827
    Tokens
    0

    Latest Awards:

    Default .HTACCESS...

    Hi,

    Ive setup .htaccess to password protect directories, only problem is, when i got to the actual url of a file into the directory, it doesnt ask for a user or pass...

    Is there a way to password protect EVERYTHING within the directory?

    Thanks, Lewis.

    +REP for any help
    Im not here to be loved, I love to be hated :-}


  2. #2
    Join Date
    Sep 2009
    Location
    Hull
    Posts
    827
    Tokens
    0

    Latest Awards:

    Default

    Edit:

    I found out that the files within the directory are protected.
    Now, internet explorer & google chrome are only asking for a password when im try to access the directory & giving me direct access to the file if i have the actual url of the file...

    sorry about double post, maybe an admin should change the edit time from 15 mins to an hour?

    Lew.
    Im not here to be loved, I love to be hated :-}


  3. #3
    Join Date
    Nov 2006
    Location
    D?sseldorf
    Posts
    2,858
    Tokens
    2,256

    Latest Awards:

    Default

    Code:
    AuthType BasicAuthName "NO ENTRY"
    AuthUserFile "/home/****/.htpasswds/public_html/includes/passwd"require valid-user
    Put that in a htaccess file, and obviously create the password file etc, then put it in the directory you want to protect

  4. #4
    Join Date
    Sep 2009
    Location
    Hull
    Posts
    827
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Luke View Post
    Code:
    AuthType BasicAuthName "NO ENTRY"
    AuthUserFile "/home/****/.htpasswds/public_html/includes/passwd"require valid-user
    Put that in a htaccess file, and obviously create the password file etc, then put it in the directory you want to protect
    Ive already done that. It may just be a bug with GC & IE?

    Lew.
    Im not here to be loved, I love to be hated :-}


  5. #5
    Join Date
    Nov 2006
    Location
    D?sseldorf
    Posts
    2,858
    Tokens
    2,256

    Latest Awards:

    Default

    Nope, works fine for me..
    May be your host?

    Have you not got cPanel? You can do it automatically in there

  6. #6
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    Quote Originally Posted by LMS16 View Post
    Ive already done that. It may just be a bug with GC & IE?

    Lew.
    It's a server side thing, no bug with any browsers.

  7. #7
    Join Date
    Sep 2009
    Location
    Hull
    Posts
    827
    Tokens
    0

    Latest Awards:

    Default

    Ahh, I think I know why it wasnt asking for a PW, cos Ive put "Require user admin anotheruser" so if im already authenticated on the admin, it wont ask me

    Thanks, Lew.
    Im not here to be loved, I love to be hated :-}


Posting Permissions

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