Maybe it is something that I am doing wrong in the httpd.conf file. The following is of what I have for it that has anything to do directories or CGI. Remember, I have Apache 1.3.26:
ServerRoot "/usr/local/apache"
#Listen 80
#Listen 192.168.0.4:80
#BindAddress *
Port 80
User nobody
Group nobody
ServerAdmin Admin@domain.net
#ServerName domain.net
DocumentRoot "/home/httpd/domain"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/home/httpd/domain">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm
</IfModule>
UseCanonicalName On
<IfModule mod_alias.c>
#
# Note that if you include a trailing / on fakename then the server will
# require it to be present in the URL. So "/icons" isn't aliased in this
# example, only "/icons/". If the fakename is slash-terminated, then the
# realname must also be slash terminated, and if the fakename omits the
# trailing slash, the realname must also omit it.
#
Alias /icons "/usr/local/apache/icons"
<Directory "/usr/local/apache/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# This Alias will project the on-line documentation tree under /manual/
# even if you change the DocumentRoot. Comment it if you don't want to
# provide access to the on-line documentation.
#
Alias /manual/ "/usr/local/apache/htdocs/manual/"
<Directory "/usr/local/apache/htdocs/manual">
Options Indexes FollowSymlinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
#
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
#ScriptAlias /cgi-bin/ "home/httpd/launchweb/cgi-bin/"
</IfModule>
# AddType allows you to tweak mime.types without actually editing it, or to
# make certain files to be certain types.
#
AddType application/x-tar .tgz
# To use CGI scripts:
AddHandler cgi-script .cgi .pl
#AddType text/html .shtml
#AddHandler server-parsed .shtml
#AddHandler send-as-is asis
#AddHandler imap-file map
#AddHandler type-map var
</IfModule>
# End of document types.
#<Location /cgi-bin/phf*>
# Deny from all
# ErrorDocument 403
#</Location>
NameVirtualHost *
<Directory "/home/httpd/domainvh">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
DirectoryIndex index.html index.htm
</Directory>
<VirtualHost *>
UseCanonicalName Off
</VirtualHost>
<VirtualHost *>
UseCanonicalName Off
ServerName domainvh.com
DocumentRoot "/home/httpd/domainvh"
ServerAlias
</VirtualHost>
<Directory "/home/httpd/domain/cgi-bin">
AllowOverride None
Options +ExecCGI
Order allow,deny
Allow from all
AddHandler cgi-script .cgi .pl
</Directory>
Sorry for it being so long, hopefully this helps. I now know that I have the correct modules installed, if you want me to post the module list, I can.
Thanks