Results 1 to 5 of 5

lighttpd mod_auth rule problem

This is a discussion on lighttpd mod_auth rule problem within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Hello, actually we are trying to get a rule working with lighty lighttpd.conf We want to secure whole domain with ...

  1. #1
    Member
    Real Name
    JonnyF
    Join Date
    Jan 2007
    Posts
    92
    Liked
    0 times

    lighttpd mod_auth rule problem

    Hello,

    actually we are trying to get a rule working with lighty lighttpd.conf
    We want to secure whole domain with a authentication, and also seperate directories with a different authentication.

    However it only asks for the whole domain, after this has been accepted it doesnt ask for the seperate directorie when accessing it, but it should because it has more security status.

    Our code:

    Code:
         # Auth for whole Domain
         auth.require = (
         "/" =>
         (
         "method" => "digest",
         "realm" => "auth1",
         "require" => "user=global"
         ),
         
         # Auth only for special directory
         "/dir1/" =>
         (
         "method" => "digest",
         "realm" => "auth2",
         "require" => "user=specialuser"
         )
         )
    If we delete the first rule for whole domain, it asks for /dir1/, it's strange.

    Any idea how to get it to work ?

    regards
    MMORPG elite Community Guides & Exploits.

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Hello,

    Does it work correctly with vBSEO disabled? Looks like that should not be caused by vBSEO.

  3. #3
    Member
    Real Name
    JonnyF
    Join Date
    Jan 2007
    Posts
    92
    Liked
    0 times
    no it is not caused by vbseo.
    if wrong forum please move it or let it stay for a while, maybe someone got a solution for this.
    MMORPG elite Community Guides & Exploits.

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    I see. Please try to move "/dir1/" definition above "/" section.

  5. #5
    Member
    Real Name
    JonnyF
    Join Date
    Jan 2007
    Posts
    92
    Liked
    0 times
    Allready tried that, no change in behavior.
    MMORPG elite Community Guides & Exploits.

Similar Threads

  1. members' profile re-write rule problem
    By msalman in forum URL Rewrite Settings
    Replies: 2
    Last Post: 02-13-2008, 12:02 AM
  2. Replies: 3
    Last Post: 02-22-2007, 05:13 PM
  3. Lighttpd sitemap problem
    By zkilzz in forum Troubleshooting
    Replies: 1
    Last Post: 01-28-2007, 03:15 PM
  4. Lighttpd problem
    By Przemysław Rejf in forum Troubleshooting
    Replies: 7
    Last Post: 01-15-2007, 08:18 AM
  5. problem with lighttpd
    By akschu in forum URL Rewrite Settings
    Replies: 1
    Last Post: 10-15-2006, 09:03 AM

Posting Permissions

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