Hi, is it possible to run cgi scripts outside of the cgi-bin when suexec is active ?
Hi, is it possible to run cgi scripts outside of the cgi-bin when suexec is active ?
Hi jeroman8,
Yes, you can execute cgi scripts outside the cgi-bin directory by adding the following directive to .htaccess file.
A .htaccess file is a way to set configuration directives on a per-directory basis. When Apache serves a resource, it looks in the directory from which it is serving a file for a file called .htaccess.
.htaccess file
==================
AllowOverride Options
AddHandler cgi-script cgi pl
Options +ExecCGI [which tells Apache that execution of CGI programs is permitted in this directory]
"Always have a bright support".![]()
Regards,![]()
Bright