August 3rd, 2005
|04:27 pm - Hello, tentacle support?|
Subject line from here, via waistcoatmark. Silly, work-safe.
I am trying to establish a web site and put a perl script to run a Wiki on it. I have uploaded the software correctly, unzipped it, extracted the tar archive and put the wiki.pl script into ~/htdocs/cgi-bin/ . I have made sure that both the wiki.pl script and the cgi-bin directory have 755 permissions. When I visit http://www.appropriatesitename.com/cgi-bin/wiki.pl then it does not execute the script, it merely displays the code of the script in the browser. However, when I open a shell, cd to the appropriate directory and execute perl wiki.pl from the command line, it produces a perfectly-formed HTML page that I would expect to see. I do not believe there is anything further I need to do in order to enable running scripts on the web site.
Any advice, please? aTdHvAaNnKcSe to anyone who can help.
ETA: We now think it's a problem at their end. Their engineers are looking at it and hope to have sorted it out in 24 hours. If not, I shall phone again. Thank you for the suggestions anyhow, but I doubt there's much anybody can do about it from this end in that case...
Current Mood: disappointed
(stupid question but hu, why run a wiki in perl when you can do it in php? *a little biased and w/ prolly no good reason, omg*)
I don't know php. Heck, I don't know perl, for that matter. My knowledge of all things *NIXy is very very basic indeed. :-D
Right. And my own bias is probably because I do know a little of PHP, vs not knowing the first bit of Perl. :)
hope you sort it out! (my only one idea was something very vague that has probably no conenction, like, are you sure you FTP'd the files in acsii mode when you did and not binary (or the opposite, I never know which it should be) )
perl doesn't have problems with deciphering linebreaks properly, as far as I know :)
|Date:||August 3rd, 2005 04:07 pm (UTC)|| |
Put another way, why do anything in PHP when you could conceivably avoid it?
bias, yesyes, is all bias.
|Date:||August 3rd, 2005 04:34 pm (UTC)|| |