On Sun, 10 Feb 2002 07:57:44 -0500 "Stephen P. Molnar, Ph.D." <smolnar@jadeinc.com> wrote:
I'm attempting to install a program WebMO (http://www.webmo.net) and am WebMO has a perl installation script which asks a number of questions This one I answered correctly as http://abnormal.ffc:901 opens the test page for the web server.
print "SET UP HTML DIRECTORY\n\n"; print " - Directory is in the server's webspace\n"; print " - The directory is NOT in a cgi-bin directory\n"; print " - You need to have permission to write to this directory\n"; print " - The parent of the specified directory must already exist\n\n"; print "Example: /home/smith/public_html/webmo\n\n";
This one gives me problems. What is the server's webspace?
The apache server root directory is /usr/local/httpd and the document area is /usr/local/httpd/htdocs and the cgi-bin is /usr/local/httpd/cgi-bin Your home html is in /home/smolnar/public_html The servers webspace is it's secure operating zone; it dosn't like leaving it, so you must install the software in one of those places, or edit your httpd.conf.
print "Please enter the URL corresponding to the specified directory.\n"; print "Example: /~smith/webmo\n\n";
If I can't specify the directory correctly, I can't give the URL for that directory.
The actual url to a site and the actual directories are different due to the above mentioned server root. So your url to your public_html might be http://localhost/~smolnar/ while the base directory is /home/smolnar/public_html
print "SET UP CGI DIRECTORY\n\n"; print "The script will now create a directory into which the WebMO cgi\n"; print "scripts will be copied. The directory should meet the following\n"; print "requirements:\n"; print " - Directory is in the server's webspace\n"; print " - Execution of CGI scripts is permitted in directory\n"; print " - You need to have permission to write to this directory\n"; print " - The parent of the specified directory must already exist\n\n"; print "Example: /home/smith/public_html/cgi-bin/webmo\n\n";
I don't have the foggiest idea as to what the above means.
Well you need to setup directories for the program in your cgi-bin. If you are using homedirs , then you would want to create directories called WebMO in both like: /home/smolnar/public_html/WebMO/ /home/smolnar/public_html/cgi-bin/WebMO/ These would be accessed by urls like these: http://192.168.0.1/~smolnar/WebMO/index.html htpp://192.168.0.1/~smolnar/cgi-bin/WebMO.cgi The cgi stuff is usually separated from the html stuff. If you are using your main server, you would make /usr/local/httpd/htdocs/WebMO/ and /usr/local/httpd/cgi-bin/WebMO These would be accessed like this http://192.168.0.1/WebMo/index.html http://192.168.0.1/cgi-bin/WebMO.cgi This sounds like a complex cgi to setup. I would suggest you download a couple of simpler cgi programs and play with them to see how it works. Get yourself a webauction script or something like that, install it, and see how it works. -- $|=1;while(1){print pack("h*",'75861647f302d4560275f6272797f3');sleep(1); for(1..16){for(8,32,8,7){print chr($_);}select(undef,undef,undef,.05);}}