Forum Moderators: phranque
Is there any way to make files located in /cgi-bin being treated like regular files, not as scripts?
In other words, I'd like Apache to recognize all files in a /cgi-bin as being eligible for processing as normal documents, rather than for execution.
Is it doable? If so, what do I put in my .htaccess file?
Thanks!
So I would strongly advise you not to use cgi-bin for anything but executable scripts -- It's pretty much a standard "reserved" directory name.
You may be able to mark the files as non-executable by placing an .htaccess file into /cgi-bin which contains:
Options -ExecCGI Jim