Project

General

Profile

Bug #1407

Something wrong in configuration handling

Added by Anonymous almost 12 years ago. Updated almost 11 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
core
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

Description

I just found that order of configuration options somehow matters in lighttpd.conf.

When I use following, http://localhost/phpmyadmin/ works:


alias.url += (
        "/phpmyadmin" => "/usr/share/phpmyadmin",
)
$HTTP["remoteip"] == "127.0.0.1" {
        alias.url += (
                "/doc/" => "/usr/share/doc/",
                "/images/" => "/usr/share/images/",
        )
}

But when I move the /phpmyadmin alias behind remote IP check, http://localhost/phpmyadmin/ is not resolved as not found:


$HTTP["remoteip"] == "127.0.0.1" {
        alias.url += (
                "/doc/" => "/usr/share/doc/",
                "/images/" => "/usr/share/images/",
        )
}
alias.url += (
        "/phpmyadmin" => "/usr/share/phpmyadmin",
)

-- nijel

History

#1

Updated by darix almost 12 years ago

  • Status changed from New to Fixed
  • Resolution set to invalid

works as designed:
see "lighttpd -tp -f /path/to/conf".

#2

Updated by stbuehler almost 11 years ago

  • Status changed from Fixed to Invalid

Also available in: Atom