Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've configured lighttpd to protect files from folder, but I have to put login and pass to every file wchich I want to get to. This part of my configuration file looks like this:

$HTTP["url"] =~ "^/cgi-bin/" {
 auth.backend                   = "plain"
 auth.backend.plain.userfile = "/var/www/passDir/passwd_file"
 auth.require                   = ( "/cgi-bin/" =>
                                    (
                                      "method"  => "basic",
                                      "realm"   => "Password area",
                      "require" => "valid-user"
                                    )
                                  )
}
share|improve this question
    
And what is your question? –  j0k Dec 4 '12 at 14:30
    
. . . I'm unclear how you think this is enough detail for us to help you. Have a look at meta.serverfault.com/questions/3608/… and see if you can refine this into an answerable question (start by including your troubleshooting information) –  voretaq7 Dec 4 '12 at 17:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.