The URL:
http://www.isthe.com/cgi-bin/number.cgi
returns a 404 error and generates this error message in /var/log/custweb/error.log:
On the other hand, the URL:
http://www.isthe.com/cgibin/number.cgi
works just fine.
Under my document root, /home/WWW_pages/chongo, I have my CGI file:
I have a significant legacy of links depending on URIs such as http://www.isthe.com/cgi-bin/number.cgi. I.e., paths starting with /cgi-bin.
How can I use URIs such as http://www.isthe.com/cgi-bin/number.cgi?
http://www.isthe.com/cgi-bin/number.cgi
returns a 404 error and generates this error message in /var/log/custweb/error.log:
Code: Select all
[Sun Feb 9 HH:MM:SS 2014] [error] [client A.B.C.D] script not found or unable to stat: /nfs/www/httpd/cgi-bin/number.cgi
[Sun Feb 9 HH:MM:SS 2014] [error] [client A.B.C.D] File does not exist: /opt/apache/conf/IP/134/209.204.149.134/errors/404.shtml
http://www.isthe.com/cgibin/number.cgi
works just fine.
Under my document root, /home/WWW_pages/chongo, I have my CGI file:
- /home/WWW_pages/chongo/cgi-bin/number.cgi
- /home/WWW_pages/chongo/cgibin -> cgi-bin
I have a significant legacy of links depending on URIs such as http://www.isthe.com/cgi-bin/number.cgi. I.e., paths starting with /cgi-bin.
How can I use URIs such as http://www.isthe.com/cgi-bin/number.cgi?