Menu

#23 DirectoryIndex cgi script support

open
nobody
None
5
2014-08-14
2007-08-30
No

Configuring the mime-type to allow execution of all .cgi files does cause the execution of a script when the directory is retrieved, from setting the directory file index to be `index.cgi'.

eg: http://example.com/

However it does correctly execute when the actual filename is retrieved:

eg: http://example.com/index.cgi

This patch fixes this, and as far as I can tell doesn't cause any errors, but I would recommend checking over by a developer as I only have small knowledge of the codebase and may be doing something wrong.

Discussion

  • Marcus Cobden

    Marcus Cobden - 2007-08-30

    Patch

     
  • Marcus Cobden

    Marcus Cobden - 2007-08-30

    Logged In: YES
    user_id=1879346
    Originator: YES

    Forgot to say, boa codebase version was boa-0.94.14rc20

     

Log in to post a comment.