[cgiwrap-users] RE: Help! CGIWrap problem.
Brought to you by:
nneul
From: Neulinger, N. R. <nn...@um...> - 2000-09-14 18:01:56
|
> -----Original Message----- > From: Jing Chen [mailto:Jin...@ur...] > Sent: Thursday, September 14, 2000 12:58 PM > To: Nathan Neulinger > Subject: Re: Help! CGIWrap problem. > > > Thanks for your good points. > I've checked the config file and passwd file, seems not > wrong with them. BTW, if cgiwrap running as nobody, how can > i verify wether it is running correct or not? > > The problem is still there. So I narrow down to the apache > server configuration issues. Here is what in your message, > "You haven't set up a cgi directory. You have to install > cgiwrap in a ScriptAlias'ed cgi-bin directory." And here is > what I've done, > > 1. in httpd.conf: > ScriptAlias /cgi-bin/ "/server/apache/cgi-bin/" That's fine. I don't think you need the quotes though. > <Directory "/server/*/public_html/cgi-bin"> > Options FollowSymLinks MultiViews ExecCGI > AddHandler cgi-script .cgi .pl > AllowOverride Options > Order allow,deny > Allow from all > </Directory> You don't want to do that. You should not have execcgi permission enabled for anything else on the server other than the central cgi-bin directory. > > 2. when config cgiwrap, I use: > with-install-dir=/server/apache/cgi-bin > > Would you give me some ideas? Yes, follow the instructions I gave you in the last email and send me the information I requested. -- Nathan > On Wed, 13 Sep 2000 17:55:39 -0500 Nathan Neulinger > <nn...@um...> wrote: > > 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 > > |