× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Can you try change the configuration to below ?

<Directory /qsys.lib/jgvwsrv.lib>
SetHandler cgi-script
Options +ExecCGI
Require all granted
</Directory>





在 16/4/29 下午8:28,“WEB400 代表 Jan Grove Vejlstrup”<web400-bounces@xxxxxxxxxxxx 代表 jgv@xxxxxxxx> 写入:

Hello

I try to configure a webserver webserve02 for my webservices. If I enter
//myibmi:8501 into firefox I see the text from
/www/webserve02/htdocs/index.html. If I enter //myibmi:8501/art/90 it
tells me, that I don't have the permission to do that.

I see this in /www/webserve02/logs/error_log.Q116042900:

ZSRV_MSG0362: Client von Serverkonfiguration abgewiesen:
/qsys.lib/jgvwsrv.lib/getatr.pgm

This german text means something like: Client was denied by the
serverconfiguration.

My library jgvwsrv and my program getatr both have *public-authority *all.

Here comes the configuration-file:

# Configuration originally created by Create HTTP Server wizard on Fri
Apr 29 10:53:18 CEST 2016
Listen *:8501
DocumentRoot /www/webserve02/htdocs
TraceEnable Off
Options -FollowSymLinks
LogFormat "%h %T %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined
LogFormat "%{Cookie}n \"%r\" %t" cookie
LogFormat "%{User-agent}i" agent
LogFormat "%{Referer}i -> %U" referer
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog logs/access_log combined
LogMaint logs/access_log 7 0
LogMaint logs/error_log 7 0
SetEnvIf "User-Agent" "Mozilla/2" nokeepalive
SetEnvIf "User-Agent" "JDK/1\.0" force-response-1.0
SetEnvIf "User-Agent" "Java/1\.0" force-response-1.0
SetEnvIf "User-Agent" "RealPlayer 4\.0" force-response-1.0
SetEnvIf "User-Agent" "MSIE 4\.0b2;" nokeepalive
SetEnvIf "User-Agent" "MSIE 4\.0b2;" nokeepalive
SetEnvIf "User-Agent" "MSIE 4\.0b2;" force-response-1.0
<Directory />
Require all denied
</Directory>
<Directory /www/webserve02/htdocs>
Require all granted
</Directory>

ScriptAlias /art /qsys.lib/jgvwsrv.lib/getatr.pgm

<Directory /qsys.lib/jgvwsrv.lib>
Order Allow,Deny
Allow From All
</Directory>

What am I doing wrong?

I'm on 7.2.

I wish you a nice weekend and thank you very much in advance.

Best regards

Jan

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.