ScriptAlias /cgi-bin/ /home1/_sites/teste/site/cgi-bin/
Options FollowSymLinks +ExecCGI
CustomLog /home1/_sites/teste/log/apache/access.log combined
php_admin_value safe_mode 0
php_admin_value open_basedir /home1/_sites/teste:/tmp
In folder /home1/_sites/teste/site I have the index.html file and a cgi-bin folder, both of them with www-data owner and group. In cgi-bin folder I have a perl script which I want to test (also with the respective owner and right permissions).
When I access http://teste.domain.com
I can see the content of the index.html file.. but if I try to access http://teste.domain.com/cgi-bin/perltest.pl
I get an error:
File not found
Firefox can't find the file at http://teste.domain.com/cgi-bin/perltest.pl
* Check the file name for capitalization or other typing errors.
* Check to see if the file was moved, renamed or deleted.
Am I making something wrong? Thanks.