.pl doesn't work for me (4)

1 Name: K : 2007-03-20 19:37 ID:gvuNIaOl [Del]

I've never worked with mysql, apache, or perl before. (actually, anything to do with programming or anything of that sort)

I downloaded and installed everything I needed. Got it all working together and followed instructions I found in these threads (which were an invaluable resource)

One snag I hit was that .pl would always load as text documents. I changed them all to .cgi (and fixed the scripts to point to .cgi) and it worked.

One problem I hit with changing it all to .cgi was I couldn't get oekaki to work properly. I redid everything on another computer I had (same installs, same configuring) and it ran the .pl files fine. Oekaki worked also.

I'm not concerned since I did get it work fine on another computer, I would just like to know why .pl didn't work while .cgi did.

I'm running this on my own computer (windows) if that helps. Also, I don't plan on putting this on the net so that's why I didn't use a web hosting service.

2 Name: Anonymous : 2007-03-20 19:42 ID:sgdAPcyc [Del]

install linux, problem solved

srsly: http://wakaba.c3.cx/docs/docs.html#RunningOnWindows

3 Name: !WAHa.06x36 : 2007-03-20 19:47 ID:Heaven [Del]

Most likely because Apache isn't set to use cgi-handler for .pl files on the one machine.

4 Name: Anonymous : 2007-03-21 09:36 ID:Heaven [Del]

in your .htaccess file, add this line:

AddHandler cgi-script .pl

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: