Hello Mario
> ----- Original Message -----
> Subject: Re: CSS via CGI dynamically called
> Date: Tue, 4 Apr 2006 11:57:38 -0400 (EDT)
> From: "Mario R. Sanchez, Ph.D."
>
> hi peter
> running linux radhat 9.2 and apache. tried moving the css to various
> locations - all readable by apache to no avial.
>
The problem is not where the CSS is but where your script is.
the <link rel="stylesheet" type="text/css" href="program.css"> tag says
that the program.css is n the same directory as the calling script,
that's why it works fine when you call the news.html directely. The cgi
script normally is at /cgi-in/ and in that directory you don't have a
program.css file.
check the path of your program.css and change the link tag
accordinatelly, something like:
<link rel="stylesheet" type="text/css" href="<path to the css
file>/program.css">
Regards,
Americo
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs