<Directory /home/*/public_html/cgi-bin> Options +ExecCGI -Includes -Indexes SetHandler cgi-script </Directory>
mooshak
- and the CGI scripts should run
with the same user. The suexec
module of Apache runs
CGI scripts in users directories as the corresponding and ensures that
scripts cannot be invoked by other users. Mooshak expects
suexec
in order to run properly.
If you have this kind of error then you probably don't have
suexec
installed. Some distributions install
suexec
by default when you install Apache. Sometimes you
may need to recompile Apache with a certain configuration
Of course that you can just give all permissions to all data files by
executing chmod -R 777 data
command in Mooshak's home
directory but I advise you against it. You will be compromising your
contest security.
httpd start
, intead of startssl
solved this
problem. Apparently this script sets important environment variables