Bug #1407
Something wrong in configuration handling
| 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