× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Ok - a few questions;
        1)      Everyone can stop saying Andrew who and phrases like "I
thought he was swallowed by Hurricane Frances" stuff like that ... 
        2)      Did you load ALL the latest PTF's before you migrated to
Apache?  Apache WAS a pain in the uh... tush (clean enough for you
puritans!) to migrate until literally NOW or a month ago at most - latest
PTF's for Java, for Web servers (domino go server or DG1!) , for DB2 will
load the MOST recent changes to the migration tool.  Once there, run the
migration wizard again - I ran it once, and had Net.Data (CGI by any other
name!) running flawlessly without editing the migrated server from the
Classic server.  I was seriously pleased... 
 
Let me know if you have questions - (or Bob C, or Brad can help too... but I
may have - I dunno - insight... )

-Andrew Borts (better known as "The Lazy Coder")
Webmaster - United Auto Insurance Group - or UAIG.NET
Lead - HotShots! - an a Cappella Barbershop Quartet -www.4hotshots.com
(hosted on an AS/400!) for more info



-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Bartell, Aaron L. (TC)
Sent: Wednesday, September 08, 2004 2:51 PM
To: Web Enabling the AS400 / iSeries
Subject: [WEB400] Browser tries to download program

Hi all,

We are attempting to migrate an IBM Original HTTP server to Apache. The
migration completed but we can not gain access to the RPG CGI programs
off of the Apache URL, yet it still works off of the IBM Original HTTP
server URL.

Here's what happens.  We go to our intranet site of
http://mysite.com:8080/cgi-bin/myrpgcgipgm and it attempts to download
the program as a file instead of executing it.


Any ideas?

Below is the Apache config that is seemly causing us problems:

LogFormat "%h %l %u %t \"%r\" %>s %b" common
<Location />
   <LimitExcept GET HEAD OPTIONS POST TRACE>
      Order Allow,Deny
      Deny From all
   </LimitExcept>
</Location>

Options -ExecCGI -SymLinksIfOwnerMatch +Includes +Indexes -MultiViews
Listen *:2012
MaxKeepAliveRequests 5
TimeOut 120
KeepAliveTimeout 4
ThreadsPerChild 2
AccessFileName .htaccess

AddOutputFilter INCLUDES .html
AddOutputFilter INCLUDES .htmls
AddOutputFilter INCLUDES .htm
AddOutputFilter INCLUDES .css

AddType text/xml .xsl
AddType text/html .html
AddType text/html .htm
AddType text/html .css

IndexOptions -SuppressDescription
HeaderName README

<Directory />
   Order Allow,Deny
   Deny From all
</Directory>

<Directory /QSYS.LIB/AS400CGI.LIB/*.PGM>
   Options +ExecCGI
   CGIConvMode %%EBCDIC/MIXED%%
   Allow From all
   AddOutputFilter INCLUDES .pgm .rexx .pl .class
</Directory>

ScriptAliasMatch ^/cgi-bin/(.*) /QSYS.LIB/AS400CGI.LIB/$1.PGM

_______________________________________________
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 ...

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.