Bug #1407

Something wrong in configuration handling

Added by Anonymous 454 days ago. Updated 89 days ago.

Status:Invalid Start:
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:core
Target version:1.5.0
Pending:

No

Resolution:

invalid

Patch available:


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

10/12/2007 03:38 AM - darix

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

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

10/10/2008 06:54 PM - stbuehler

  • Status changed from Fixed to Invalid

Also available in: Atom PDF