Probably a silly cgi-bin question

Can any Linux guru out there confirm if the default setup for cgi-bin directories on a Linux web hosting system is to allow only execution of scripts in a cgi-bin diry?

In other words, that html files, gif, jpg etc placed into a cgi-bin diry will simply return error 403 forbidden?

And that if a script needs to access html, images etc then these files should be outside cgi-bin (or its subdirectories)?

That is what is currently happening on a system we use, but it definitely was _not_ happening before! (html and images etc were viewable as if they were in the website's home diry).

Some Apache setting must have changed somewhere I guess but not sure what!

 

 

 

 

Top