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



Hi
following the Scott Klement's document (
<http://www.scottklement.com/presentations/Providing%20RPG%20Web%20Services%
20on%20IBM%20i.pdf> http://www.scottklement.com/presenta...%20IBM%20i.pdf)
i'm try to write my first REST Web service

this is the configuration HTTP Server file :
1 LoadModule mod_ibm_lwi /QSYS.LIB/QHTTPSVR.LIB/QLWIIHSMOD.SRVPGM
2 HotBackup Off
3 KeepAlive Off
4 DocumentRoot /www/WSERVICE/htdocs
5 AddLanguage en .en
6 LogMaint logs/error_log 7 0
7 LogFormat "%h %T %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined
8 Listen *:10066
9 AccessFileName .htaccess
10 DirectoryIndex index.html
11
12 order allow,deny
13 allow from all
14
15 LwiPluginConfig /www/WSERVICE/conf/lwi-plugin-cfg.xml
16
17 LwiAssignUserID myuser
18 LwiAutostartOption StartEnd
19 LwiStartJobQueue QHTTPSVR/QZHBHTTP HTTPWWW
20
21
22 # My RESTFULL webservices
23 ScriptAliasMatch /rest/([a-z0-9]*)/(.*) /qsys.lib/EUR_2VAROB.lib/$1.pgm
24
25 Order Allow,Deny
26 Allow From All

my pgm TESTREST is located in EUR_2VAROB library

from browser i run <http://myiseries:10066/rest/testrest>
http://myiseries:10066/rest/testrest

i receive HTTP 404 impossible to find Web page

how can i find the error

Thanks


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.