Is there a convenient way to password-protect URLs which match a certain pattern in Lighttpd?
I thought about matching regex, but any other creative solution will be nice.
NOTE : I’m not looking for a way to password-protect a directory, beacuse the URLs I want to protect aren’t confined to a certain directory structure.
Adam
Have you looked at the
mod_authplugin?And the auth-file would contain (for basic authentication):
More info: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAuth
To filter / check a specific directory,