how to access html file in rpgle

1400 pts.
Tags:
Web development
Dear All, I have created a html file in rpgle and save in IFS folder in my diractory 'xxxx',Now i want to access that file though web browser i have given path in address bar kile http://hostname/xxxx/custdtl.html

Software/Hardware used:
software

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 13  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    Have you configured your HTTP server to serve that file? HTTP servers won't simply serve up any file you ask for. You should review your server's configuration to see if the path you requested is valid. Tom
    125,585 pointsBadges:
    report
  • TomLiotta
    ...in rpgle What does ILE RPG have to do with your question? Is there more that you need to explain? Tom
    125,585 pointsBadges:
    report
  • 9783444184
    yes we have configured http server it given 403 error you have not permission for this page like that
    1,400 pointsBadges:
    report
  • 9783444184
    my path is http://192.168.3.16:2001/amit/custdtl.html This error (HTTP 403 Forbidden) means that Internet Explorer was able to connect to the website, but it does not have permission to view the webpage.
    1,400 pointsBadges:
    report
  • TomLiotta
    ...but it does not have permission to view the webpage. In other words, you have not yet configured your HTTP server to serve that file. Tom
    125,585 pointsBadges:
    report
  • 9783444184
    is there any sit for configure http server..
    1,400 pointsBadges:
    report
  • TomLiotta
    is there any sit for configure http server.. As with all other server functions on your AS/400, the Information Center for your OS version is the site to start. For 7.1, look at HTTP Server Concepts to review tasks that should be done before using the server. Tom
    125,585 pointsBadges:
    report
  • 9783444184
    Hi After long day i m back this topicki have a http server like http://192.168.3.41:3090/hello.html is working fine...but when i call my rpg program through web its displaying   so please hep me if you have any idea.
    1,400 pointsBadges:
    report
  • 9783444184
    Forbidden You do not have permission to access /amit/CUSTCGI.PGM on this server.
    1,400 pointsBadges:
    report
  • 9783444184
    i have follow the process of this link http://www.itjungle.com/fhg/fhg033104-story01.html
    1,400 pointsBadges:
    report
  • 9783444184
    i have compiled that program byCRTRPGMOD MODULE(amits/CUSTCGI) SRCFILE(amits/amitsrc) BNDDIR(QC2LE)                                             CRTPGM PGM(amits/CUSTCGI) BNDSRVPGM(QHTTPSVR/QTMHCGI)
    1,400 pointsBadges:
    report
  • 9783444184
    My http configuration setting is:Display Configuration FileHTTP server:       DEMOSelected file:       /www/demo/conf/httpd.conf  1       # Configuration originally created by Create HTTP Server wizard on Fri Jul 13 11:14:27 IST 2012  2       Listen *:3090  3       DocumentRoot /www/demo/htdocs  4       TraceEnable Off  5       Options -ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch -Includes -IncludesNoExec -Indexes -MultiViews  6       LogFormat "%h %T %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined  7       LogFormat "%{Cookie}n \"%r\" %t" cookie  8       LogFormat "%{User-agent}i" agent  9       LogFormat "%{Referer}i -> %U" referer  10       LogFormat "%h %l %u %t \"%r\" %>s %b" common  11       CustomLog logs/access_log combined  12       LogMaint logs/access_log 7 0  13       LogMaint logs/error_log 7 0  14       SetEnvIf "User-Agent" "Mozilla/2" nokeepalive  15       SetEnvIf "User-Agent" "JDK/1\.0" force-response-1.0  16       SetEnvIf "User-Agent" "Java/1\.0" force-response-1.0  17       SetEnvIf "User-Agent" "RealPlayer 4\.0" force-response-1.0  18       SetEnvIf "User-Agent" "MSIE 4\.0b2;" nokeepalive  19       SetEnvIf "User-Agent" "MSIE 4\.0b2;" force-response-1.0  20       <Directory />  21            Order Deny,Allow  22            Deny From all  23       </Directory>  24       <Directory /www/demo/htdocs>  25            Order Allow,Deny  26            Allow From all  27       </Directory>  28       ScriptAlias /amit/ /QSYS.LIB/AMITS.LIB  29       <Directory /QSYS.LIB/AMITS.LIB>  30            Options +ExecCGI  31            SetHandler cgi-script  32            order allow,deny  33            allow from all  34       </Directory>
    1,400 pointsBadges:
    report
  • 9783444184
    Display Configuration File HTTP server: DEMO Selected file: /www/demo/conf/httpd.conf 1 # Configuration originally created by Create HTTP Server wizard on Fri Jul 13 11:14:27 IST 2012 2 Listen *:3090 3 DocumentRoot /www/demo/htdocs 4 TraceEnable Off 5 Options -ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch -Includes -IncludesNoExec -Indexes -MultiViews 6 LogFormat "%h %T %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined 7 LogFormat "%{Cookie}n \"%r\" %t" cookie 8 LogFormat "%{User-agent}i" agent 9 LogFormat "%{Referer}i -> %U" referer 10 LogFormat "%h %l %u %t \"%r\" %>s %b" common 11 CustomLog logs/access_log combined 12 LogMaint logs/access_log 7 0 13 LogMaint logs/error_log 7 0 14 SetEnvIf "User-Agent" "Mozilla/2" nokeepalive 15 SetEnvIf "User-Agent" "JDK/1\.0" force-response-1.0 16 SetEnvIf "User-Agent" "Java/1\.0" force-response-1.0 17 SetEnvIf "User-Agent" "RealPlayer 4\.0" force-response-1.0 18 SetEnvIf "User-Agent" "MSIE 4\.0b2;" nokeepalive 19 SetEnvIf "User-Agent" "MSIE 4\.0b2;" force-response-1.0 20 <Directory /> 21 Order Deny,Allow 22 Deny From all 23 </Directory> 24 <Directory /www/demo/htdocs> 25 Order Allow,Deny 26 Allow From all 27 </Directory> 28 ScriptAlias /amit/ /QSYS.LIB/AMITS.LIB 29 <Directory /QSYS.LIB/AMITS.LIB> 30 Options +ExecCGI 31 SetHandler cgi-script 32 order allow,deny 33 allow from all 34 </Directory>
    1,400 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following