Answer the question
In order to leave comments, you need to log in
How to defeat end of script before headers?
The simplest script itself is under the spoiler. Error in logs: end of script before headers.
I created .htaccess along this path (I also tried deleting .htaccess everywhere) c AddHandler cgi-script .cgi .pl .py
Options +ExecCGI
After switching to loungefirst.ml/cgi-bin/cgi.pl script
500 error.
There are no problems with rights, since I assigned "777" to all folders and files. There are only user rights, but there is no need for root rights in the job condition.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question