[cgiwrap-users] trying to track down root cause of 405 error - resource not allowed
Brought to you by:
nneul
From: Rusty W. <rus...@ya...> - 2002-07-02 05:37:33
|
Hi all, I dont think this would be an error due to cgiwrap, but I sure would appreciate a "sanity" check... any and all comments sincerely appreciated. System: Cobalt (Sun) RaQ 4i When I try to run TFmail (nms-cgi.sourceforge.net) on my RaQ, I get the following error message after i submit a form: HTTP 405 - Resource not allowed I know what the 405 means, but I dont understand it in this context. I have looked at everything I can think of, but I still cant identify the problem. The RaQ run all cgi programs inside "cgiwrap" - could this be the problem? If I run the script in "debug" mode, it appears that it should work - the example below is the output if i try to submit a form with a required field missing. You can see the script gets to the HTML output part, BUT, if I run this same script in NON debug mode, I get the 405 error?!? Help?!? _ _ _ DEBUG OUTPUT _ _ _ Initializing Logging Redirecting STDERR to STDOUT Cobalt RaQ virtual site CGI wrapper Setting SIGXCPU to default behaviour Environment Variables: QUERY_STRING: '' SCRIPT_NAME: '/cgiwrapDir/cgiwrapd' PATH_INFO: '/cgi-bin/TFmail.cgid' PATH_TRANSLATED: '/home/sites/home/web/cgi-bin/TFmail.cgid' REMOTE_USER: '<NULL>' REMOTE_HOST: '<NULL>' REMOTE_ADDR: '68.4.xxx.xxx' Trying to extract user from PATH_INFO. Retrieved User Name: '' Script File: '/home/sites/home/web/cgi-bin/TFmail.cgi' User Data Retrieved: UserID: 'orbusnet' UID: '146' GID: '100' Group ID: 'home' Home Dir: '/home/sites/home/users/orbusnet' This is a site site base dir: 'home/sites/' site name: 'home' cgi dir: 'web' Script Base Directory: '/home/sites/home/web' Trying to extract script from PATH_INFO Script Relative Path: 'cgi-bin/TFmail.cgid' Script Absolute Path: '/home/sites/home/web/cgi-bin/TFmail.cgid' Fixing Environment Variables. Environment Variables: QUERY_STRING: '' SCRIPT_NAME: '/cgi-bin/TFmail.cgid' PATH_INFO: '/cgi-bin/TFmail.cgid' PATH_TRANSLATED: '/home/sites/home/web/cgi-bin/TFmail.cgid' REMOTE_USER: '<NULL>' REMOTE_HOST: '<NULL>' REMOTE_ADDR: '68.4.xxx.xxx' UIDs/GIDs Changed To: RUID: '146' EUID: '146' RGID: '100' EGID: '100' Changing current directory to '/home/sites/home/web/cgi-bin' Output of script follows: ===================================================== Content-type: text/html; charset=iso-8859-1 <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Missing Fields</title> <link rel="stylesheet" type="text/css" href="/css/nms.css" /> <style> h1.title { text-align : center; } </style> </head> <body> <h1 class="title">Missing Fields</h1> <p> The following fields were left blank in your submission form: </p> <ul> <li>first_name</li> </ul> <p> These fields must be filled in before you can successfully submit the form. </p> <p> Please use your back button to return to the form and try again. </p> <p align="center"> <font size="-1"> <a href="http://nms-cgi.sourceforge.net/">TFmail</a> © 2002 London Perl Mongers </font> </p> </body> </html> __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com |