I would have attached it if there was a place to attache a file.
Here goes:
# Deny access to the entirety of your server's filesystem. You must
# explicitly permit access to web content directories in other
# <Directory> blocks below.
#
<Directory />
AllowOverride none
Require all denied
</Directory>
Added/revised below after numerous fails with presenting text instead of executing cgi.
<Directory "/home/*/public_html">
Options +ExecCGI
AddHandler cgi-script .cgi
</Directory>
Options Indexes FollowSymLinks Multiviews Includes ExecCGI
<IfModule dir_module>
DirectoryIndex index.php index.php3 index.html index.htm index.cgi index.pl
</IfModul
<Directory "/wamp/www/bwmjcm.us/www/httpsdocs/cgi-bin/">
AllowOverride None
Options ExecCGI
Require all granted
</Directory>
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
ErrorDocument 500 "/httpsdocs/errordocs/bwm_500.htm"
#ErrorDocument 404 /missing.html
ErrorDocument 404 "/httpsdocs/errordocs/bwm_404.htm"
ErrorDocument 403 "/httpsdocs/errordocs/bwm_403.htm"
#ErrorDocument 402 [
www.example.com]
ErrorDocument 400 "/httpsdocs/errordocs/bwm_400.htm"
#