logout_app in rules break the manager
On some Linux system / perl version (at least on CentOS 5.5), using logout_app in rules break the manager.
How to reproduce:
- Create a rule like this on any virtualhost:
Comment: 01backup Expression: ^/BackupPC Rule: logout_app https://backup.domain.tld
-
Save the config
-
Try to access the manager, you get a black page with an error message like this one:
Unable to get configuration
Not a CODE reference at /usr/lib/perl5/vendor_perl/5.8.8/Lemonldap/NG/Handler/Simple.pm line 538
And here are the error in appache error log:
[Wed Dec 29 18:30:09 2010] [error] [client 192.168.7.50] Bareword found where operator expected at (eval 45) line 1, near "//backup" [Wed Dec 29 18:30:09 2010] [error] [client 192.168.7.50] \t(Missing operator before backup?) [Wed Dec 29 18:30:09 2010] [error] [client 192.168.7.50] Lemonldap::NG::Manager error: Unable to get configuration, Not a CODE reference at /usr/lib/perl5/vendor_perl/5.8.8/Lemonldap/NG/Handler/Simple.pm line 538 [Wed Dec 29 18:30:09 2010] [error] [client 192.168.7.50]