Forum Moderators: phranque

Message Too Old, No Replies

html or jpg files in a cgi-bin?

how to tell apache not to try and exec a jpg or html file?

         

rsgalloway

9:29 pm on Sep 29, 2005 (gmt 0)

10+ Year Member



Given a cgi-bin or ExecCGI directory, is there a way to tell Apache NOT to execute files of a certain type? Let's say, for example, there were an .html file in a cgi-bin or a jpeg file in a cgi-bin/images directory. How can I avoid Apache trying to execute these files and load them instead?

Thanks.

rsgalloway

10:12 pm on Sep 29, 2005 (gmt 0)

10+ Year Member




Basically I'm just looking for the inverse of the "CGIMapExtension" directive. It's not that complicated.

jdMorgan

12:56 am on Sep 30, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Please see [webmasterworld.com...]

Jim