Based on the config that you posted, you should be trying:

http://10.0.1.1/cgi-bin/cgi

This is because the config that you posted has the following line:

>  3    ScriptAliasMatch /cgi-bin/(.*) /qsys.lib/cgi_bin.lib/$1.pgm

What this line does is it takes whatever follows the /cgi-bin/ in the URL, 
and adds /qsys.lib/cgi_bin.lib/ before it, and .pgm after it.

So the URL that you originally posted was:http://10.0.1.1/cgi-bin/cgi.pgm
and that means that it'll try to run an object called
/qsys.lib/cgi_bin.lib/cgi.pgm.pgm

Can you see the problem?  There are two .PGM's at the end of the pathname! 
Obviously, that won't work.  When you call it with

http://10.0.1.1/cgi-bin/cgi

It'll be looking for /qsys.lib/cgi_bin.lib/cgi.pgm, which is what I think 
you want to do.  If you'd prefer to specify the .PGM manually, change your 
config to read:

   ScriptAlias /cgi-bin/ /qsys.lib/cgi_bin.lib/

That'll run faster, and it won't add .PGM for you, so your original URL 
will work correctly.



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/wbFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Easy400Group/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to