<Directory> for "cgi-bin" is pointless in apache2 conf, when not using cgi

CGI directory directive inside Apache2 config for virtual server seems pointless when CGI Wrapper is not enabled.

[user_home]/cgi-bin folder should be in place and directive enabled, only when CGI Wrapper is enabled in config. Am I right?

Status: 
Closed (works as designed)

Comments

Howdy -- the cgi-bin directory is still usable even when Virtualmin isn't using it for serving PHP, though you're right that it's not necessary.

However, it would be a decent bit of work to write the code to remove those few lines from Apache each time the PHP Execution Mode is changed... because it's not causing any problems, and some people do make use of it, that's probably not something we'd change.