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



The EASY400 (CGIDEV2) site directives are viewable here:

http://www-922.ibm.com/http/http80/conf/httpd.conf

There are some directives that you missed.....

I have a group for apache on Yahoo @
http://groups.yahoo.com/group/Apache_Users_Tech_Forum/

 


Jeffrey Flaker
Senior Programmer/Analyst
Linens 'N Things
6 Brighton Rd
Clifton, NJ  07015
Phone:   973-249-4384
Fax:     973-249-4901
http://www.lnt.com

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


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.