Re: [cgiwrap-users] 403 error when using cgiwrapd
Brought to you by:
nneul
From: Nathan N. <nn...@um...> - 2005-01-26 13:37:34
|
On Tue, Jan 25, 2005 at 08:21:52PM -0500, Joe Hourcle wrote: > > On Tuesday, January 25, 2005, at 01:06 PM, Green, James wrote: > > >Hi all, > > > >I'm new to this list, so please forgive me if this question has > >recently been asked. I have cgiwrap installed and it works fine; > >however, I have one particular script that is not functioning > >correctly and when I try to run it using cgiwrapd I get a "403 > >Forbidden" error as follows: > >================================================ > >You don't have permission to access > >/cgi-bin/cgiwrapd/survey/srvy/SurveyStart.pl on this server. > > > >Additionally, a 403 Forbidden error was encountered while trying to > >use an ErrorDocument to handle the request. > > > > > >----------------------------------------------------------------------- > >--------- > > > >Apache/2.0.40 Server at _default_ Port 80 > >=============================================== > > > >The permissions are set correctly for the cgiwrapd link, and it is > >readable, writable, and executable by world, so I'm at a loss as to > >why I'm getting this error. Anyone familiar with it? > > > This is two different error messages -- > > 1. You don't have permission to access ... > > I _think_ this is the webserver complaining about cgiwrapd, > which should be a symlink to cgiwrap, which needs execute, > but you should make sure your script has the correct > permissions as well. [you might want to check via cgiwrap, > non-debug mode, and see if you get a similar error message] > > Symlinks are particularly deceptive, as their permissions > are almost completely irrelevant -- it's the permissions of > the file being linked to that matters. Also, check if your server has Symlinks enabled in the options. Alternatively, just make it a hard link instead of a symlink, then it should bypass that. > > 2. 403 Forbidden ... > > This is apache's way of telling you that someone tried setting > the ErrorDocument (where a specific file is read in place of > an error message) but that when it tried reading the file > that was referenced, it had an error (of type 403). > > So, you'll need to read your httpd.conf, and make sure to > set whatever files might be mentioned so they're readable by > the webserver. > > ----- > Joe Hourcle > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > cgiwrap-users mailing list > cgi...@li... > https://lists.sourceforge.net/lists/listinfo/cgiwrap-users > ------------------------------------------------------------ Nathan Neulinger EMail: nn...@um... University of Missouri - Rolla Phone: (573) 341-6679 UMR Information Technology Fax: (573) 341-4216 |