SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2001
    Location
    Belgium
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    htacces protected admin directory

    Hello,

    My testsite is at f2s.
    I just made
    .htaccess
    .htpasswd

    I uploaded .htpasswd to my rootdirectory
    and .htpaccess to the directory admin


    Is this the correct way of naming the files (just .htaccess)?

    The files when uploaded don't show up in the directory (on site).

    this is htaccess:
    AuthUserFile /web/sites/nnn/user/www.mysite.f2s.com/.htpasswd
    AuthGroupFile/dev/null
    AuthName 'Protected Admin zone'
    AuthType Basic

    <limit GET PUT POST>
    require valid-user
    </limit>

    It made an internal server error so I cannot get in the directory admin anymore.

    Any suggestions? What is going wrong? What did I (stupid me) do wrong?
    Thanks.

  2. #2
    SitePoint Enthusiast
    Join Date
    Jul 2001
    Location
    Belgium
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    it is ok

    problem solved


Bookmarks

Posting Permissions

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