Results 1 to 7 of 7

Thread: password login on apache

  1. #1
    Senior Member
    Join Date
    Jul 2003
    Location
    Newcastle
    Posts
    227
    Thanks
    0
    Thanked
    0 times in 0 posts

    password login on apache

    any1 know how to get it to work? i've tried .htaccess but can't get it to work, any suggestions?

    this is on suse 8.2 pro btw
    Who's your daddy?

  2. #2
    Senior Member
    Join Date
    Jul 2003
    Location
    Nuneaton, UK
    Posts
    289
    Thanks
    0
    Thanked
    0 times in 0 posts
    Can you post your httpd.conf file ?

    Also what version of apache is it running.

    RenaultSport Clio 172

  3. #3
    Goat Boy
    Join Date
    Jul 2003
    Location
    Alexandra Park, London
    Posts
    2,428
    Thanks
    0
    Thanked
    0 times in 0 posts
    There is a really good guide here:

    http://www.apacheweek.com/features/userauth
    "All our beliefs are being challenged now, and rightfully so, they're stupid." - Bill Hicks

  4. #4
    Senior Member
    Join Date
    Jul 2003
    Location
    Newcastle
    Posts
    227
    Thanks
    0
    Thanked
    0 times in 0 posts
    Who's your daddy?

  5. #5
    Senior Member
    Join Date
    Jul 2003
    Location
    Nuneaton, UK
    Posts
    289
    Thanks
    0
    Thanked
    0 times in 0 posts
    Change :

    PHP Code:
    #
    # This controls which options the .htaccess files in directories can
    # override. Can also be "All", or any combination of "Options", "FileInfo", 
    # "AuthConfig", and "Limit"
    #
        
    AllowOverride None 
    To :

    PHP Code:
    #
    # This controls which options the .htaccess files in directories can
    # override. Can also be "All", or any combination of "Options", "FileInfo", 
    # "AuthConfig", and "Limit"
    #
        
    AllowOverride All 
    Its because apache is not obeying .htaccess files when AllowOverride is set to none.
    Last edited by bmh.01; 20-09-2003 at 11:44 PM.

    RenaultSport Clio 172

  6. #6
    Senior Member
    Join Date
    Jul 2003
    Location
    Newcastle
    Posts
    227
    Thanks
    0
    Thanked
    0 times in 0 posts
    works!!!!! thanks bud
    Who's your daddy?

  7. #7
    Senior Member
    Join Date
    Jul 2003
    Location
    Nuneaton, UK
    Posts
    289
    Thanks
    0
    Thanked
    0 times in 0 posts
    No problem, took me a while to work that one out the first time I tried to use .htaccess and it wouldn't work.

    RenaultSport Clio 172

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
  •