× 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.



Do you have a file named index.html in the /www/webserve02/htdocs/art/90 directory? I don't see a DirectoryIndex directive. Have you tried specifically hitting the file in the art/90 directory? i.e. //myibmi:8501/art/90/index.html


-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Jan Grove Vejlstrup
Sent: Friday, April 29, 2016 8:29 AM
To: web400 Midrange
Subject: [WEB400] Apache Webserver for Webservices

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.

For More Than 85 Years—Delivering Solutions That Exceed Expectations.

This communication and any transmitted documents are intended to be confidential. If there is a problem with this transmission, please contact the sender. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.