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 | |
Jerry Flood | d750315 | 2017-10-09 16:33:00 -0400 | [diff] [blame] | 10 | alias.url = ( "/logs/" => "/share/logs/" ) |
| 11 | $HTTP["url"] =~ "^/logs/" { |
| 12 | dir-listing.activate = "enable" |
| 13 | } |
| 14 | |
DR695H | ccff30b | 2017-02-17 18:44:24 -0500 | [diff] [blame] | 15 | mimetype.assign = ( |
Gary Wu | f240d64 | 2017-10-19 13:46:27 -0700 | [diff] [blame] | 16 | ".log" => "text/plain", |
| 17 | ".txt" => "text/plain", |
| 18 | ".html" => "text/html", |
| 19 | ".xml" => "text/xml" |
DR695H | ccff30b | 2017-02-17 18:44:24 -0500 | [diff] [blame] | 20 | ) |
| 21 | |
| 22 | static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc", ".cgi" ) |
| 23 | index-file.names = ( "index.html" ) |
| 24 | |
Jerry Flood | 775f59f | 2017-04-01 06:55:19 -0400 | [diff] [blame] | 25 | server.modules += ( "mod_auth" ) |
Jerry Flood | d750315 | 2017-10-09 16:33:00 -0400 | [diff] [blame] | 26 | server.modules += ( "mod_alias" ) |
Jerry Flood | 775f59f | 2017-04-01 06:55:19 -0400 | [diff] [blame] | 27 | auth.debug = 2 |
| 28 | auth.backend = "plain" |
| 29 | auth.backend.plain.userfile = "/etc/lighttpd/authorization" |
| 30 | auth.require = ( "/" => |
| 31 | ( |
| 32 | "method" => "basic", |
| 33 | "realm" => "Password protected area", |
| 34 | "require" => "valid-user" |
| 35 | ) |
| 36 | ) |