"Justin Houchin" <justin=tilaqxF4Y8dWk0Htik3J/w@public.gmane.org> wrote in
message 001301c2c095$6bd9c850$0901a8c0@jth">news:001301c2c095$6bd9c850$0901a8c0@jth...
>             I am migrating to Apache. I did the migration and it said
> everything was successful. My CGI programs do not work now. I get the
error
> messages "The requested URL /cgi-bin/iteminq was not found on this
server."
> I know it has to do with the directives. Could someone post a copy of
there
> config file so I can find the problem on mine?

Here's a config fragment that I just got working ...

ScriptAliasMatch ^/cgi-bin/(.*)$ /qsys.lib/yourlib.lib/$1.pgm

<Directory /qsys.lib/yourlib.lib>
    Options +ExecCGI
    CGIConvMode %%EBCDIC/MIXED%%
</Directory>
You should also be able to use the following in place of the
ScriptAliasMatch...

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

... and specify the cgi program as 'yourprogram.pgm' instead of just
'yourprogram'

david






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.