Re: Getting style sheets to work under IBM HTTP Server

2014-02-12 Thread Grinsell, Don
Where does the css file actually reside?  What happens if you fully qualify the 
href?

say 'link rel=stylesheet type=text/css href= 
http://server/path/sample.css; /'


--
 
Donald Grinsell
State of Montana
406-444-2983
dgrins...@mt.gov

I love deadlines.  I love the whooshing sound they make as they fly by.  
~ Douglas Adams

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Dana Mitchell
Sent: Wednesday, February 12, 2014 2:04 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Getting style sheets to work under IBM HTTP Server

I'm working on creating some web pages in a REXX CGI served up with IBM HTTP 
Server V5R3M0  but I can't get it to work. (the REXX and the html was working 
by itself, before I started trying to move the formatting to a css file).

In my REXX CGI I have coded:
say 'head'   
say '/head'  

sample.css contains:
body {font-family: arial;  }
   
h1 {background-color:#CCC;border: 1px solid;color:#39F;
text-align: center; }
table {  background-color: #F60;border: 1px solid #39F;width: 100%;
}
td {border: 0px;text-align: center;}

p {color:#09F;text-indent: 20px;}   


When I call the REXX,  in cgi-error.Feb122014 gets this message:
/usr/lpp/internet/server_root/cgi-bin/sample.css 1: FSUM7332 syntax error: got 
}, expecting Newline   

Has anybody done this and gotten it to work?  whats the trick I'm missing?

thanks
Dana

--
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: Getting style sheets to work under IBM HTTP Server

2014-02-12 Thread Dana Mitchell
I think it's finding it because the message refers to the real location:

/usr/lpp/internet/server_root/cgi-bin/sample.css 


but I tried it that way and it does the same thing

Dana

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


Re: Getting style sheets to work under IBM HTTP Server

2014-02-12 Thread Kirk Wolf
The FSUM7332 message is from the z/OS Shell.
So, it appears to me that the .css file is being treated as a shell script.
You don't say which version of HTTP server you are using, but I think that
the problem is that your directives are set up so that this .css file is
being treated as an executable (CGI) - probably because it is in the
cgi-bin directory.

Kirk Wolf
Dovetailed Technologies
http://dovetail.com


On Wed, Feb 12, 2014 at 3:29 PM, Dana Mitchell mitchd...@gmail.com wrote:

 I think it's finding it because the message refers to the real location:

 /usr/lpp/internet/server_root/cgi-bin/sample.css


 but I tried it that way and it does the same thing

 Dana

 --
 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: Getting style sheets to work under IBM HTTP Server

2014-02-12 Thread Dana Mitchell
Kirk,

Yes, that was it.  Moved it to the /pub directory and it works perfect.  Thanks!

Dana

On Wed, 12 Feb 2014 15:33:39 -0600, Kirk Wolf k...@dovetail.com wrote:

The FSUM7332 message is from the z/OS Shell.
So, it appears to me that the .css file is being treated as a shell script.
You don't say which version of HTTP server you are using, but I think that
the problem is that your directives are set up so that this .css file is
being treated as an executable (CGI) - probably because it is in the
cgi-bin directory.

Kirk Wolf
Dovetailed Technologies
http://dovetail.com


On Wed, Feb 12, 2014 at 3:29 PM, Dana Mitchell mitchd...@gmail.com wrote:

 I think it's finding it because the message refers to the real location:

 /usr/lpp/internet/server_root/cgi-bin/sample.css


 but I tried it that way and it does the same thing

 Dana

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

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


Re: Getting style sheets to work under IBM HTTP Server

2014-02-12 Thread Scott Ford
Dana:

By doing some googles on FSUM7332 REXX ..there were several hits all talk about 
syntax errors, that's the first place I would start.

Scott ford
www.identityforge.com
from my IPAD




 On Feb 12, 2014, at 4:03 PM, Dana Mitchell mitchd...@gmail.com wrote:
 
 I'm working on creating some web pages in a REXX CGI served up with IBM HTTP 
 Server V5R3M0  but I can't get it to work. (the REXX and the html was working 
 by itself, before I started trying to move the formatting to a css file).
 
 In my REXX CGI I have coded:
 say 'head'   
 say 'link rel=stylesheet type=text/css href=sample.css'
 say '/head'  
 
 sample.css contains:
 body {font-family: arial;  }  
  
 h1 {background-color:#CCC;border: 1px solid;color:#39F;
 text-align: center; }
 table {  background-color: #F60;border: 1px solid #39F;width: 100%;   
  }
 td {border: 0px;text-align: center;}  
   
 p {color:#09F;text-indent: 20px;} 
   
 
 When I call the REXX,  in cgi-error.Feb122014 gets this message:
 /usr/lpp/internet/server_root/cgi-bin/sample.css 1: FSUM7332 syntax error: 
 got }, expecting Newline   
 
 Has anybody done this and gotten it to work?  whats the trick I'm missing?
 
 thanks
 Dana
 
 --
 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