Why don you support mySQL, PHP and CGI on the main servers?
The security concerns with CGI scripts are much greater than normal HTML. Also, more importantly, CGI scripts can overwhelm servers because, by their very nature, they use up many more resources. This way, if scripts go wild, they affect only the CGI-BIN server — and not the other servers with 35, 000 users.