I'm running Apache 2.0 on RedHat 8.0 (Please don't ask for exact versions as it is a pain to find). I do not know how to set a directory to serve .html and .gif/.jpg files. To execute Perl (.pl) files to be served over HTTP, I use:

<Directory /var/www/html/NewDir>
SetHandler perl-script
PerlHandler ModPerl::Registry::handler
PerlOptions +ParseHeaders
Options +ExecCGI

What am I missing for .htm/.html and image files. The error that I get is:

"Server Error!

The server encountered an internal error and was unable to complete your request.
Error message:
syntax error at /var/../MyHTML.html line 2, near "head>"

Error 500"

Any help would be greatly appreciated.