Hi there.
I use a cgi in my webpage when I want the user to pay me money. In a former server I had no problem but in my new one server I got an Internal Server Error in the browser when I call the cgi file from PHP.
I have a <form> with POST action="THE_CGI_FILE"
On putty I try "./file.cgi" and seems to run but "perl file.cgi" throws "unrecognized character \x7F at line 1" error. But in the former server was Ok.
I think I have all the necessary entries:
<VirtualHost ...
ScriptAlias /cgi-bin/ /path_to_cgi_folder/
<Directory "path_to_cgi_folder">
AllowOverride AuthConfig Indexes FileInfo Options Limit
AddHandler cgi-script .cgi .pl
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
AllowOverride Options FileInfo
</Directory>
...</VirtualHost>
What else do I need? Service provider tell me everything's fine...