Because the Web is continually in flux, a Web server must provide a mechanism that allows for extensions to be added to the Web server, or face obsolescence.
The commonly accepted mechanism for extending the capabilities of existing Web servers is one called the Common Gateway Interface (CGI).