Line 197: |
Line 197: |
| | | |
| PerlWarn Off | | PerlWarn Off |
− | PerlRequire /home/off/cgi/startup.pl | + | PerlRequire /home/off/cgi/startup_apache2.pl |
| | | |
| | | |
Line 314: |
Line 314: |
| ~ | | ~ |
| </pre> | | </pre> |
| + | |
| + | |
| + | ====== Product opener debug ===== |
| + | |
| + | Once Apache starts: |
| + | |
| + | /home/off/logs# tail -f error_log |
| + | |
| + | <pre> |
| + | [Fri Jun 17 14:51:34.123696 2016] [perl:error] [pid 18764:tid 117837813839616] [client 127.0.0.1:35749] Can't locate object method "remote_ip" via package "Apache2::Connection" at /home/off/cgi/startup.pl line 76.\n, referer: http://openfoodfacts.eu/ |
| + | </pre> |
| + | |
| + | -> created startup_apache2.pl, loaded in off.conf |