E
E
elisey4742015-02-01 13:25:35
Lighttpd
elisey474, 2015-02-01 13:25:35

What to write in the lighttpd configs so that folder listing is possible only for a separate ip?

What to write in the lighttpd configs so that folder listing is possible only for a separate ip?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vapaamies, 2015-02-01
@elisey474

LightTPD allows nested conditions. So it's possible like this:

$HTTP["host"] == "test.local" {
  $HTTP["remoteip"] == "127.0.0.1" {
    dir-listing.activate = "enable"
  }
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question