Need help. images in cgi-bin -- how to setup it?
Just got a new dedicated box with cpanel for my friend.His previous host allow him to put any .gif and .jpg files into a cgi-bin dir and browse it just fine through http://hisdomain.com/cgi-bin/files/image.jpg
But in this new box, if he put any files into a cgi-bin dir and browse it through http://hisdomain.com/cgi-bin/files/image.jpg, the server will execute it as a script. Thus the result is 500 internal server error.
My questions is how to set the httpd.conf file or set a .htaccess file so the server will not execute the image files which reside into a cgi-bin dir as a script?