I have apache 2.0 set up with virtual hosts on my RH8 Server. I am having a few problems with getting CGI to work.
Here is a typical Virtual Hosts file:
ScriptAlias /cgi-bin/ /www/sites/mysite/public_h
Allow from all
The main httpd.conf has its own ScriptAlias but it is commented out.
The error.log file contains the line:
File does not exist: /www/sites/cgi-bin, referer: http://22.214.171.124/~mysite/
It should be looking in /www/sites/mysite/public_h
n/ instead of /www/sites/cgi-bin???
I am accessing the site by it's IP address for the time being until I can get the domain sorted out:
Finally the form action in the htm file is
<form method="post" action="/cgi-bin/maillist.
cgi" name="" target=blank>
When I try to use the form on the site I get:
The requested URL /cgi-bin/maillist.cgi was not found on this server.