Does QTMHHTP1 have at least *USE authority to the library and your CGI programs? You can also start the server up with option -vv (two lowercase V's) which will cause it to print a trace log that you can look through to see if there are other problems.
Matt
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Tarik ÇIFTÇI
Sent: Monday, July 06, 2009 8:46 AM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] HTTP Configuration Error
We re-installed the V5R2 and we can't remember out HTTP DEFAULT
configuration correctly.
We have an internal web site. This site works. But some links have cgi
programs and this programs don't run.
Error is "Error 500 . Access denied. Bad path."
All programs are in the /web directory. Also Cgi programs ara in the CGIBIN
library. QTMHHTP1 has *all authority to CGIBIN library and the programs.
Please help me waht is the problem. I think exec, pass, map directives are
not true.
Our HTTP DEFALUT configuration is like below :
Enable GET
Enable HEAD
Enable POST
Map /CGI-BIN/LUNCH /QSYS.LIB/CGIBIN.LIB/LUNCH.PGM
Map /cgi-bin/lunch /qsys.lib/cgibin.lib/lunch.pgm
Exec /CGI-BIN/* /QSYS.LIB/CGIBIN.LIB/*
Exec /cgi-bin/* /qsys.lib/cgibin.lib/*
Pass /CGI-BIN/* /QSYS.LIB/CGIBIN.LIB/*
Pass /cgi-bin/* /qsys.lib/cgibin.lib/*
PASS /* /web/*
Welcome index.htm
AlwaysWelcome On
DirAccess Off
IconPath /QIBM/HTTPSVR/Icons/
AddIcon text.gif text text/*
AddIcon html.gif html text/html
AddIcon binary.gif bin application/*
AddIcon compress.gif Z application/x-compress
AddIcon compress.gif gzip application/x-gzip
AddIcon image.gif img image/*
AddIcon movie.gif vid video/*
AddIcon sound.gif au audio/*
AddType .java text/plain binary 1.0
AddType .html text/html 8bit 1.0
AddType .htm text/html 8bit 1.0
AddType .gif image/gif binary
AddType .bmp image/bmp binary 1.0
TARIK
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.