Page 1 of 1

Internal server error

Posted: Sun Oct 14, 2018 9:20 am
by yurif74
Hello all, i'm about a newbie, actually a little better but still newbie on webserver stuff

following tutorials on the net i was able to setup my webserver, it is working but i have problems with cgi scripts (perl)

i should have set up cgi-bin directory correctly to /var/www/html/cgi-bin
i have the env.pl file there and it work
however i have another file "setup.cgi" there but it throw an internal server error when i try to open it..

this is the error.log from apache

Code: Select all

[Sun Oct 14 10:54:38.239075 2018] [mpm_prefork:notice] [pid 1666] AH00163: Apache/2.4.25 (Raspbian) configured -- resuming normal operations
[Sun Oct 14 10:54:38.239279 2018] [core:notice] [pid 1666] AH00094: Command line: '/usr/sbin/apache2'
[Sun Oct 14 10:54:49.873377 2018] [cgi:error] [pid 1670] [client 2.231.24.196:54736] AH01215: (2)No such file or directory: exec of '/var/www/html/cgi-bin/install/setup.cgi' failed: /var/www/html/cgi-bin/install/setup.cgi
[Sun Oct 14 10:54:52.599526 2018] [cgi:error] [pid 1670] [client 2.231.24.196:54736] End of script output before headers: setup.cgi

i read "no such file or directory" in the error but i assure that the file is there and correctly chmodded to 0755

please may someone help me?

Re: Internal server error

Posted: Tue Oct 16, 2018 2:32 pm
by yurif74
No clues?