The Apache Module API
- Add functionality directly to server.
- Dynamically loaded modules -- no need to recompile or relink.
- Full access to server API.
- C interface.
- Perl (mod_perl) interface.
Advantages
- Much faster than CGI scripts.
- Can do amazing things with API:
- Dynamic URL translation (e.g. load balancing)
- MIME type lookup from database.
- Role-based authentication.
- Proxy server (e.g. banner ad blocker)
Disadvantages
- Non-portable.
- Bugs in modules can crash server.
- No process-level security in multiauthor environments.
Lincoln D. Stein, lstein@cshl.org
Cold Spring Harbor Laboratory
Last modified: Thu Nov 4 06:42:12 EST 1999