David, I tried what you said and still the same thing.....here is my config
file, please see if you can find out what is the problem...

AlwaysDirectoryIndex OFF
DirectoryIndex index.htm
Listen 192.168.0.7:80
HostNameLookups OFF
RuleCaseSense OFF
CGIConvMode %%MIXED/MIXED%%
AliasMatch ^/(.*)$ /rteklive/$1
ScriptAliasMatch ^/cgi-bin/(.*)$ /qsys.lib/rtektest.lib/$1.pgm
<Directory />
   Options None
   AllowOverride None
   Order allow,deny
   Allow from all
</Directory>
<Directory /qsys.lib/rtektest.lib>
    Options +ExecCGI
    CGIConvMode %%EBCDIC/MIXED%%
</Directory>

Justin Houchin
Programmer and Web Developer
www.reliatek.com
justin@reliatek.com


-----Original Message-----
From: web400-bounces@midrange.com [mailto:web400-bounces@midrange.com] On
Behalf Of David Gibbs
Sent: Monday, January 20, 2003 9:21 AM
To: web400@midrange.com
Subject: [WEB400] Re: Apache setup

"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





_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo.cgi/web400
or email: WEB400-request@midrange.com
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 ...

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.