-
Notifications
You must be signed in to change notification settings - Fork 39
Web UI on Ubuntu
To do first active cgi:
a2enmod cgi
service apache2 restart
If the api.cgi file was here : /var/www/html/eyefiserver2
the correct Directives for the apache webserver :80
<Directory "/var/www/html/eyefiserver2">
AllowOverride None Options +ExecCGI -MultiViews
Order allow,deny
Allow from all
AddHandler cgi-script cgi
</Directory>
On Ubuntu 14.04 after the configuration of the Apache WebServer for CGI , i have this anomalie in the apache logerror and no data in the WebUI
[cgi:error] [pid 9619] [client 192.168.1.211:1619] AH01215: , referer: http:
[cgi:error] [pid 20952] [client 192.168.1.211:1623] malformed header from script 'api.cgi': Bad header: 1432930557692, referer: http:
i change the header of the api.cgi file
from #!/bin/sh
to #!/bin/bash
add by visudo
www-data ALL=(ALL) NOPASSWD: /etc/init.d/eyefiserver