Actions
Bug #1407
closedSomething wrong in configuration handling
ASK QUESTIONS IN Forums:
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
Updated by darix about 17 years ago
- Status changed from New to Fixed
- Resolution set to invalid
works as designed:
see "lighttpd -tp -f /path/to/conf".
Actions
Also available in: Atom