2009/9/25 Chuck Crisler <charles.cris...@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.