[cgiwrap-users] Re: Help! CGIWrap problem.
Brought to you by:
nneul
From: Nathan N. <nn...@um...> - 2000-09-13 22:55:44
|
Jing Chen wrote: > > Hi, > > I have apache web server 3.12 running on IRIX 6.5, also > CGIWRAP 3.6.4. Unfortunately, I've got stalled for several > weeks since I want anyone on the system can run perl > programs by themselves with CGIWRAP. Here's my questions: > > 1. I configured CGIWRAP "with-httpd-user" with nobody, same > as the user of web server. But the output of "cgiwrapd" is > like this: ... > Should I configure it with a different user? That sure looks to me like the server is not running as nobody. You need to check and make sure that is who it's running as. Look for the 'User' line in the config. If that it truly correct, send me: the output of configure, config.h, your httpd.conf file, and a 'ps -ef' output when the web server is running (an output that includes the userid). Also, you may want to check to make sure that the uid of nobody in the password file is not duplicated. i.e. something like: nofiles::32767::::: nobody::32767::::: That would cause the above problem, since when it goes to look up by uid, it would return nofiles instead. > 2. When invoke the command like > "http://server/cgi-bin/cgiwrap/user/perl.pl", it tells me > "Forbidden You don't have permission to access > /cgi-bin/cgiwrap/user/perl.pl on this server." > I DO give 755 permission to all the needed files, as well > as the cgi-bin directory. What's the problem? That is an apache configuration issue. You haven't set up a cgi directory. You have to install cgiwrap in a ScriptAlias'ed cgi-bin directory. > > 3. One more dumy question, after I install CGIWRAP, should > I make some further steps before I restart the httpd? Like > starting cgiwrapd? > > Hope I express to you all that is confusing me, and hope > you can understand it too. > > Thanks, > Jing CHEN -- ------------------------------------------------------------ Nathan Neulinger EMail: nn...@um... University of Missouri - Rolla Phone: (573) 341-4841 CIS - Systems Programming Fax: (573) 341-4216 |