# of the server's control files begin with "/" (or "drive:/" for Win32), the # Configuration and logfile names: If the filenames you specify for many # Do NOT simply read the instructions in here without understanding # for a discussion of each configuration directive. # configuration directives that give the server its instructions. # This is the main Apache HTTP server configuration file. nf file found at /opt/local/apache2/conf/nf # Program that I'm trying to run saved as first.cgi #!/usr/bin/perl -wT Second, if the file is correct, where should I put my scripts in order to make them run properly? In order to test this out I've been pointing my browser at and currently I am getting a 403 forbidden error however, in the past I have gotten 404 not found errors. First, does my nf file look correct (I've followed some online tutorials but they were incomplete so it might be messed up slightly). ![]() I've posted my nf file below (sorry that it's so long or if its against stack overflow rules to post something so long.) I think it has something to do with either my nf file or where I am putting my script files. I have turned on web sharing in settings, and I am positive that I have perl installed but I can't get it to run properly. I'm trying to run a simple CGI perl script (see below) using Apache on my Macbook running OS X Lion and I'm having difficulty getting it to run even the simplest of scripts.
0 Comments
Leave a Reply. |