DR695H | ccff30b | 2017-02-17 18:44:24 -0500 | [diff] [blame] | 1 | server.document-root = "/var/opt/OpenECOMP_ETE/html/" |
| 2 | |
| 3 | server.port = 88 |
| 4 | |
| 5 | server.username = "www-data" |
| 6 | server.groupname = "www-data" |
| 7 | |
| 8 | dir-listing.activate = "disable" |
| 9 | |
| 10 | mimetype.assign = ( |
| 11 | ".html" => "text/html" |
| 12 | ) |
| 13 | |
| 14 | static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc", ".cgi" ) |
| 15 | index-file.names = ( "index.html" ) |
| 16 | |
Jerry Flood | 775f59f | 2017-04-01 06:55:19 -0400 | [diff] [blame] | 17 | server.modules += ( "mod_auth" ) |
| 18 | auth.debug = 2 |
| 19 | auth.backend = "plain" |
| 20 | auth.backend.plain.userfile = "/etc/lighttpd/authorization" |
| 21 | auth.require = ( "/" => |
| 22 | ( |
| 23 | "method" => "basic", |
| 24 | "realm" => "Password protected area", |
| 25 | "require" => "valid-user" |
| 26 | ) |
| 27 | ) |