You are missing the "p" at the end of the library.
If that doesn't work, try lower case: d113712p , and leave the program
name in upper case.

David FOXWELL wrote:

Thanks, I get the menu in the browser ok, but I can't seem to get any program to work.
I cut the line from the .conf file that you suggested.

I'm typing http://myAS400:8016/D113712/VM2.PGM






-----Message d'origine-----
De : web400-bounces@xxxxxxxxxxxx
[mailto:web400-bounces@xxxxxxxxxxxx] De la part de Raul A. Jager W.
Envoyé : mercredi 3 juin 2009 15:18
À : Web Enabling the AS400 / iSeries
Objet : Re: [WEB400] Basic CGIDEV2 problem

Check your d113712 library, it shold have a source file named
qhtmlsrc with a member called menu in it.
The browser will show that file when you pint to: http://yourAS400/

If that works Ok, add d113712/VM2.PGM to run your program.

Maibe you need to eliminate from your httpd.conf the line:

ScriptAlias /D113712P/ /qsys.lib/d113712.lib/

Good luck,
Raul
___________________________________________________
David FOXWELL wrote:



Hi,

I did the iSeriesNews August 2006 exercise a while back, but


now I want to go further and I can't remember how to call my
program from the browser.


I no longer understand this part of my configuration file :

58


#=============================================================
============


59 # PART 3
60


#=============================================================
============


61 #---- D113712 directives
62 Alias /D113712/ /qsys.lib/d113712.lib/
63 Alias /cgipgmr/ /cgipgmr/
64 ScriptAlias /D113712P/ /qsys.lib/d113712.lib/
65 ScriptAliasMatch /d113712p/(.*) /qsys.lib/d113712.lib/$1
66 ScriptAliasMatch /d113712p/(.*) /qsys.lib/d113712.lib/$1
67 Alias / /qsys.lib/d113712.lib/qhtmlsrc.file/menu.mbr
68


#=============================================================
============


69 # PART 3
70


#=============================================================
============


71 #---- D113712 directives
72 <Directory /QSYS.LIB/D113712.LIB>
73 Options None
74 order allow,deny
75 allow from all

</Directory>


Could someone explain this for me? If my program is called


VM2 in the library D113712, what do I type in the browser to call it?


Thanks.








--
This is the Web Enabling the AS400 / 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-Ups:
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.