Gossamer Forum
Home : Products : Others : Fileman :

Must change *.cgi to *.pl - but how?

Quote Reply
Must change *.cgi to *.pl - but how?
Hi!
I have an own server by the biggest german provider 1&1 (Schlund & Partner).
The problem i have is the fact that only files which end *.pl will executed as perl files. Files which end on *.cgi are executed as Python files. I can't change that.
So i renamed the install.cgi to install.pl and also ALL names in the *.dat file.
But now i get an error message because of an incorrect checksum.

What can i do to get this great script run?

Kind regards
Wolfgang
Quote Reply
Re: [wfuehrer] Must change *.cgi to *.pl - but how? In reply to
I found the answer by myself Tongue

I insert the following line to the root .htaccess file:

--8<--

AddType x-mapp-perl .cgi

--8<--

So i force to use perl vor .cgi files. By this way Phyton won't work but i don't use it.