Not a total solution but getting there. Joshua Slive had some of the answer. He enlightened me that I was using SSI and told me to used SetOutputFilter and I read-up on the SSI howto. So I can include JavaScript files and they work nicely. However perl scripts in the cgi-bin directly stubbornly refuse to fire unless called by an HREF tag. The config is simple: ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/" Alias /javascript/ "/usr/local/www/javascript/" AddHandler cgi-script .cgi .pl <Directory "/usr/local/www/javascript/"> AllowOverride None Options +ExecCGI +Includes AddType text/html .html AddOutputFilter INCLUDES .html Order allow,deny Allow from all </Directory> <Directory "/usr/local/www/cgi-bin/"> AllowOverride None Options +ExecCGI +Includes AddType text/html .html AddOutputFilter INCLUDES .html Order allow,deny Allow from all </Directory> The web page (index.html) is damn simple too: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/XHTML1/DTD/XHTML1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <?xml version="1.0" encoding="UTF-8"?> <html> <head> <title>Test page</title> </head> <body> <h3>It works! Or so I say.<br>David</h3> <img src="/icons/apache_pb2.png" alt="Apache feather image2"> <A href="/cgi-bin/test.pl"> Test This </A> <pre> <!--#exec cmd="ls -l"--> <!--#exec virtual="/cgi-bin/test.pl"--> </pre> </body> </html> And the perl script is trivial. #!/usr/bin/perl print "Content-type: text/html\r\n\r\n"; print "<h2>Work, damn it all!</h2>\n"; Any idea of what I'm missing? I'm going with html all pages will be using dynamic HTML, if I can ever get it to work. Does the new details ring bells with anybody? Thanks, again. Outstanding action: Contact the CGI HowTo doc people to put a ref to the SSI HowTo doc. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx