We have a 1and1 vps running centos which is behaving strangely when we try to post/get to the cgi-bin.
We have a directory called Monitor under the cgi-bin so to hit a perl script inside it we would call
however this returns an error as Apache looks for the file in
cgi-bin/Monitor. If we create a directory called
cgi-binMonitor and put the script in there it runs fine when called with the above url.
The httpd.conf file has the following:
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" # # "/var/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # <Directory "/var/www/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory>
The actual cgi-bin is not at
Any ideas whats causing this strange behaviour, whilst we have a poor solution of creating a
cgi-binMonitor directory I'd rather fix it properly.