cgi-bin directory created even when it is not needed

Hey,

how can I prevent the creation of the /home/(domainname)/cgi-bin/ directory? Even when all the cgi settings are deleted from the apache template the directory is created. Just like to provide PHP using FCGI, thats it, no CGI support!

Best Regards Hans

Status: 
Closed (works as designed)

Comments

There is no way to prevent it currently - and I wouldn't recommend not creating it, as it is needed for some scripts (like twiki) and features like awstats.

cheers for the fast reply!

I dont like it! anyway i delete it after creation of the vhost, but it would be great to let me decide what I do need and what not.

Best Regards Hans

In that case, I would recommend using the post-domain-creation script feature to just delete that directory. Since 99% of users want and need it, I'd prefer not to add an option to not create cgi-bin , to reduce potential confusion and breakage.