I'm using Apache 1.2b10. I cannot seem to configure this server to
accept CGI scripts that using POST as the request method. I have STUFFED
the <VirualHost xxx> directive with everything I can. I can get files
with the ".cgi" suffix to run, but I WANT all files in a certain
directory to run with or without the ".cgi" suffix.
Here's my VirtualHost directive (with the names changed to protect the
innocent):
<VirtualHost www.somedomain.com>
ServerName www.somedomain.com
ErrorLog logs/error_log.www.somedomain.com
TransferLog logs/access_log.www.somedomain.com
RefererLog logs/referer_log.www.somedomain.com
DocumentRoot /domains/somedomain/www
Alias /cgi-bin /domains/somedomain/www/cgi-bin
Alias /cgi-src /domains/somedomain/www/cgi-src
ScriptAlias /cgi-bin/ /domains/somedomain/www/cgi-bin/
AddType text/x-imagemap .map
AddType text/x-server-parsed-html .shtml
AddType application/x-httpd-cgi .cgi
AddHandler server-parsed .shtml
AddHandler cgi-script .cgi
<Directory /domains/somedomain/www/cgi-bin>
Options All
<Limit GET POST>
order allow,deny
allow from all
</Limit>
</Directory>
</VirtualHost>
SIGH! Does anyone have a clue how to "turn on" the script in
/domains/somedomain/www/cgi-bin?
THanks.
-- Mike
----------------------------------------------------
System Administrator | (616) 395-1201
Macatawa Area | (616) 395-7123 fax
Community Network |