perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Crisler <charles.cris...@comcast.net>
Subject Re: problem with CSS in a dynamic document
Date Fri, 25 Sep 2009 12:48:06 GMT
PERFECT! :-) Thank You!!!

On Fri, 2009-09-25 at 20:26 +0800, 叶孤城 wrote:
> 2009/9/25 Chuck Crisler <charles.crisler@comcast.net>:
> >
> > use CGI;
> > use DBI;
> >
> > my $query=new CGI;
> > ...
> > # output a document
> > print $query->header();
> > print $query->start_html(-title=>"Howdy",
> >                         -style=>{-src=>'./dynamic.css'});
> > print $query->h1('Form Data');
> >
> >
> > Here is the contents of the file dynamic.css, which I located in the
> > cgi-bin directory, which is where the perl script is also located.
> >
> 
> You may want to put dynamic.css into apache's document directory
> (/path/apache/htdocs) and change the corresponding line to:
> 
>  -style=>{-src=>'/dynamic.css'});
> 
> All files under cgi-bin are tried to executed by apache.


Mime
View raw message