CGI Troubles

anti-sleep

Registered
First off, I don't know quite what I'm doing, so it's probably a really dumb mistake. But...

I'm trying to install Grey Matter blogging software ( http://noahgrey.com/greysoft/ )on my friends OSX 10.1 server. All it requires is Perl 5 (have that) and the ability to run cgi scripts (not so sure...). I'm not sure what directory will function as a cgi-bin, since there wasn't one already there. I just made one in my Sites folder. So I upload all the files just like the directions say, and when I go to execute the installation script, I get a 'not found' message in the browser. The file is clearly there, I can see it in ftp and ssh. What's going on here?

Thanks for any help that you can provide.
 
The default cgi folder is /Library/Webserver/CGI-Executables.

If you want one in your user Site folder, you'll have to get your friend to edit the user conf file (it'll be your user name in the folder users in the folder where httpd.conf is).

They'll need to make a scriptalias for the folder you want to use for cgi stuff.

It's probably just easier to put the cgi stuff in /Library/Webserver/CGI-Executables, though. Have your friend do it if you don't have the priviledges to. You don't need to edit any config files for that.
 
Back
Top