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
It's the configuration file for the webserver (again, assuming you're using apache). If the server's running, you already have one of these. I don't know where it will have been installed on your system (on mine it's in ~/apache/conf) but you could try a file search.
I assume the web server is running too, because a raw HTML file in the htdocs directory works. find / -name apache
(which I got from here
, though this isn't the Wiki I'm running!) returns a lot of Permission denied
s and nothing else.
I think you might have to talk to whoever maintains the server, then, and ask them where to put your scripts.
Thanks very much for your help, anyway.:-) Am talking to the tech support line, managed to get someone Linux-competent by good fortune, he has tried all the obvious things and hasn't spotted anything very silly that I've done, and he has escalated it to second level support.
Ah, if it's a commercial outfit they might have things set up in all kinds of odd ways :) Good luck with it!
Looks like a problem at their end and their engineers are on their server config. Doesn't look like much we can do about it from here.