sde
Verified User
i have the most simple perl script:
chmod a+x index.cgi
the owner of the cgi-bin is user:user
the permissions of the cgi-bin is: 751 ( that is default i think )
public_html is owned by: user:apache
the permission os public_html are: 750
when i try to run the script via a web browser, i get an error 500.
i have tried to add this to the .htaccess file in the cgi-bin but it did not work:
this is what the browser says:
i can run the script from the cl and it works fine.
what else can i look for?
________
grape ape pictures
Code:
#!/usr/bin/perl
print 'testing 1 2 3 4 5';
chmod a+x index.cgi
the owner of the cgi-bin is user:user
the permissions of the cgi-bin is: 751 ( that is default i think )
public_html is owned by: user:apache
the permission os public_html are: 750
when i try to run the script via a web browser, i get an error 500.
i have tried to add this to the .htaccess file in the cgi-bin but it did not work:
Code:
Options +ExecCGI
AddHandler cgi-script .cgi .pl
this is what the browser says:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
i can run the script from the cl and it works fine.
what else can i look for?
________
grape ape pictures
Last edited: