Re: Domino vs. Apache Web Server and Encoding Issue from CGI Program

2017-01-30 Thread Mike Schwab
There is a Redbook Migration Guide.
http://www.redbooks.ibm.com/abstracts/redp4987.html?Open
Printed page 95 - 97 covers mainframe storing IBM-1047 EBCDIC or
ASCII-8. You probably need to change the parameters.

On Mon, Jan 30, 2017 at 1:41 PM, Lindy Mayfield  wrote:
> Hi group,
>
> Did something change from z/OS 2.1 to 2.2 specifically that would mean that 
> the Domino web server changed to the Apache web server?  Has anyone 
> experienced this with their upgrade?
>
> More specifically to my problem,  has anyone experience with going from 
> Domino to Apache, and encountered issues with the encoding used by cgi 
> applications and had to fix them?  I don’t mean something like 1143 vs. 1047 
> encoding, but ebcdic vs. asciii.  What once returned from a call, for 
> example, “Hello world”, now looks something like “çè(<žŽ çá àžŽ”. ☺
>
> I’ve no idea which end to look at first on this, at the app or at the server 
> configuration, which is why I ask.  Also, I don’t know how big a change 
> Domino is to Apache is, if it was meant to be a plug-and-play replacement or 
> not.
>
> Many thanks for any help or advice.
>
> Kind regards,
> Lindy Mayfield
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN



-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Domino vs. Apache Web Server and Encoding Issue from CGI Program

2017-01-30 Thread Grinsell, Don
One other thing to be sure of is that the output of your cgi needs to specify 
the content type header:

Content-type: text/html (or text/plain, etc.)

Output text

Make sure you leave a blank line between the header and the content. 

--
 
Donald Grinsell, Systems Programmer
Enterprise Technology Services Bureau
SITSD/Montana Department of Administration
406.444.2983 (D)

"Being an Athlete is a state of mind which is not bound by age, performance or 
place in the running pack."
~ Jeff Galloway 

> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> On Behalf Of Lindy Mayfield
> Sent: Monday, January 30, 2017 12:41 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Domino vs. Apache Web Server and Encoding Issue from CGI
> Program
> 
> Hi group,
> 
> Did something change from z/OS 2.1 to 2.2 specifically that would mean that
> the Domino web server changed to the Apache web server?  Has anyone
> experienced this with their upgrade?
> 
> More specifically to my problem,  has anyone experience with going from
> Domino to Apache, and encountered issues with the encoding used by cgi
> applications and had to fix them?  I don’t mean something like 1143 vs. 1047
> encoding, but ebcdic vs. asciii.  What once returned from a call, for example,
> “Hello world”, now looks something like “çè(<žŽ çá àžŽ”. ☺
> 
> I’ve no idea which end to look at first on this, at the app or at the server
> configuration, which is why I ask.  Also, I don’t know how big a change
> Domino is to Apache is, if it was meant to be a plug-and-play replacement or
> not.
> 
> Many thanks for any help or advice.
> 
> Kind regards,
> Lindy Mayfield
> 
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions, send email to
> lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Domino vs. Apache Web Server and Encoding Issue from CGI Program

2017-01-30 Thread Grinsell, Don
There are several things you can check in your httpd.conf file:

The TypesConfig directive and DefaultType:

TypesConfig conf/mime.types
DefaultType text/plain

This tells Apache to convert from IBM-1047 to ISO8859-1:

# mod_charset_lite is used to translate request and response 
# data from one character set to another (e.g., from EBCDIC  
# to ASCII or vice versa).   
LoadModule charset_lite_module modules/mod_charset_lite.so   
 
CharsetSourceEnc IBM-1047
CharsetDefault   ISO8859-1   
  

Hope that's helpful.

--
 
Donald Grinsell, Systems Programmer
Enterprise Technology Services Bureau
SITSD/Montana Department of Administration
406.444.2983 (D)

"Twenty years from now you will be more disappointed by the things you didn't 
do than by the ones you did do. So throw off the bowlines. Sail away from the 
safe harbor. Catch the trade winds in your sails. Explore. Dream. Discover."
~ attributed to Mark Twain 

> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> On Behalf Of Lindy Mayfield
> Sent: Monday, January 30, 2017 12:41 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Domino vs. Apache Web Server and Encoding Issue from CGI
> Program
> 
> Hi group,
> 
> Did something change from z/OS 2.1 to 2.2 specifically that would mean that
> the Domino web server changed to the Apache web server?  Has anyone
> experienced this with their upgrade?
> 
> More specifically to my problem,  has anyone experience with going from
> Domino to Apache, and encountered issues with the encoding used by cgi
> applications and had to fix them?  I don’t mean something like 1143 vs. 1047
> encoding, but ebcdic vs. asciii.  What once returned from a call, for example,
> “Hello world”, now looks something like “çè(<žŽ çá àžŽ”. ☺
> 
> I’ve no idea which end to look at first on this, at the app or at the server
> configuration, which is why I ask.  Also, I don’t know how big a change
> Domino is to Apache is, if it was meant to be a plug-and-play replacement or
> not.
> 
> Many thanks for any help or advice.
> 
> Kind regards,
> Lindy Mayfield
> 
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions, send email to
> lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Domino vs. Apache Web Server and Encoding Issue from CGI Program

2017-01-30 Thread Nims,Alva John (Al)
Apache has been available for z/OS for some time, with going to z/OS 2.02 
Domino was dropped.

Search RedBooks for "IBM HTTP Server on z/OS Migrating from Domino-powered to 
Apache-powered"  the PDF file name is "redp4987.pdf"

That is about all I can give you, I did not know anything about Web servers 
Domino or Apache, but found myself thrown into the middle of attempting to do 
the migration.  I can't give you a success story right now, I have not 
completed the process of going to z/OS 2.02 also.

Al Nims
Systems Admin/Programmer 3
UFIT
University of Florida
(352) 273-1298

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Lindy Mayfield
Sent: Monday, January 30, 2017 2:41 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Domino vs. Apache Web Server and Encoding Issue from CGI Program

Hi group,

Did something change from z/OS 2.1 to 2.2 specifically that would mean that the 
Domino web server changed to the Apache web server?  Has anyone experienced 
this with their upgrade?

More specifically to my problem,  has anyone experience with going from Domino 
to Apache, and encountered issues with the encoding used by cgi applications 
and had to fix them?  I don’t mean something like 1143 vs. 1047 encoding, but 
ebcdic vs. asciii.  What once returned from a call, for example, “Hello world”, 
now looks something like “çè(<žŽ çá àžŽ”. ☺

I’ve no idea which end to look at first on this, at the app or at the server 
configuration, which is why I ask.  Also, I don’t know how big a change Domino 
is to Apache is, if it was meant to be a plug-and-play replacement or not.

Many thanks for any help or advice.

Kind regards,
Lindy Mayfield


--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Domino vs. Apache Web Server and Encoding Issue from CGI Program

2017-01-30 Thread Skeldum, William
Yes z/OS 2.2 now includes Apache in place of Domino.
http://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.e0zm100/IHS_V2R2_RemoveDomino.htm
Bill

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Lindy Mayfield
Sent: Monday, January 30, 2017 12:41 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Domino vs. Apache Web Server and Encoding Issue from CGI Program

Hi group,

Did something change from z/OS 2.1 to 2.2 specifically that would mean that the 
Domino web server changed to the Apache web server?  Has anyone experienced 
this with their upgrade?

More specifically to my problem,  has anyone experience with going from Domino 
to Apache, and encountered issues with the encoding used by cgi applications 
and had to fix them?  I don’t mean something like 1143 vs. 1047 encoding, but 
ebcdic vs. asciii.  What once returned from a call, for example, “Hello world”, 
now looks something like “çè(<žŽ çá àžŽ”. ☺

I’ve no idea which end to look at first on this, at the app or at the server 
configuration, which is why I ask.  Also, I don’t know how big a change Domino 
is to Apache is, if it was meant to be a plug-and-play replacement or not.

Many thanks for any help or advice.

Kind regards,
Lindy Mayfield


--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

The information contained in this electronic communication and any document 
attached hereto or transmitted herewith is confidential and intended for the 
exclusive use of the individual or entity named above. If the reader of this 
message is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient, you are hereby notified that any 
examination, use, dissemination, distribution or copying of this communication 
or any part thereof is strictly prohibited. If you have received this 
communication in error, please immediately notify the sender by reply e-mail 
and destroy this communication. Thank you.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Domino vs. Apache Web Server and Encoding Issue from CGI Program

2017-01-30 Thread Lindy Mayfield
Hi group,

Did something change from z/OS 2.1 to 2.2 specifically that would mean that the 
Domino web server changed to the Apache web server?  Has anyone experienced 
this with their upgrade?

More specifically to my problem,  has anyone experience with going from Domino 
to Apache, and encountered issues with the encoding used by cgi applications 
and had to fix them?  I don’t mean something like 1143 vs. 1047 encoding, but 
ebcdic vs. asciii.  What once returned from a call, for example, “Hello world”, 
now looks something like “çè(<žŽ çá àžŽ”. ☺

I’ve no idea which end to look at first on this, at the app or at the server 
configuration, which is why I ask.  Also, I don’t know how big a change Domino 
is to Apache is, if it was meant to be a plug-and-play replacement or not.

Many thanks for any help or advice.

Kind regards,
Lindy Mayfield


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN