ScriptAlias /lists /usr/lib/cgi-bin/mailman DirectoryIndex listinfo log: attempt to invoke directory as script: /usr/lib/cgi-bin/mailman/
This has always been true, and is easily worked-around using Alias /lists /usr/lib/cgi-bin/mailman <Directory /usr/lib/cgi-bin/mailman> Options ExecCGI SetHandler cgi-script </Directory> I'm not sure if there is a good reason for not allowing mod_autoindex to act on ScriptAliased directories (it could be considered a security feature) or if it is just a side-effect of the way ScriptAlias works.
(In reply to comment #1) > This has always been true, and is easily worked-around using > Alias /lists /usr/lib/cgi-bin/mailman > <Directory /usr/lib/cgi-bin/mailman> > Options ExecCGI > SetHandler cgi-script > </Directory> [error] [client] attempt to invoke directory as script: /usr/lib/cgi-bin/mailman/
Indeed, I believe that worked in 1.3 but SetHandler is more agressive in 2.x (grabbing requests even when they don't map to files). So you need to wrap the SetHandler in <FilesMatch .+> ... </FilesMatch>. (Or just map the extensions you need using AddHandler.)
File Extensions? We don't use no stinking file extensions!
*** This bug has been marked as a duplicate of 25435 ***
mailman use scripts without extensions :(
I'm not sure that the original "bug" here is really a dupe. ScriptAlias and DirectoryIndex don't work together for a different reason than SetHandler and DirectoryIndex don't work together. And Zoltan, the <FilesMatch> trick will work regardless of whether or not the files have extensions. It is only AddHandler that requires extensions.