mod_perl
It is proposed that this article be deleted because of the following concern:
If you can address this concern by improving, copyediting, sourcing, renaming, or merging the page, please edit this page and do so. You may remove this message if you improve the article or otherwise object to deletion for any reason. Although not required, you are encouraged to explain why you object to the deletion, either in your edit summary or on the talk page. If this template is removed, do not replace it. This message has remained in place for seven days, so the article may be deleted without further notice. Find sources: "Mod perl" – news · newspapers · books · scholar · JSTOR Nominator: Please consider notifying the author/project: {{subst:proposed deletion notify|Mod perl|concern=Content is very domain-specific. It is not notable.}} ~~~~ Timestamp: 20150126175502 17:55, 26 January 2015 (UTC) Administrators: delete |
![]() | This article includes a list of references, related reading, or external links, but its sources remain unclear because it lacks inline citations. (March 2013) |
mod_perl | |
---|---|
Developer(s) | Apache Software Foundation |
Stable release | 2.0.8
/ April 17, 2013 |
Repository | |
Operating system | Cross-platform |
Platform | Perl |
Type | Perl module for Apache HTTP server |
License | Apache License 2.0 |
Website | perl.apache.org |
mod_perl is an optional module for the Apache HTTP server. It embeds a Perl interpreter into the Apache server, so that dynamic content produced by Perl scripts can be served in response to incoming requests, without the significant overhead of re-launching the Perl interpreter for each request.
As Lincoln Stein defined mod_perl in his words:
mod_perl is more than CGI scripting on steroids. It is a whole new way to create dynamic content by utilizing the full power of the Apache web server to create stateful sessions, customized user authentication systems, smart proxies and much more. Yet, magically, your old CGI scripts will continue to work and work very fast indeed. With mod_perl you give up nothing and gain so much!
Compare to Common Gateway Interface (CGI)
mod_perl can emulate a Common Gateway Interface (CGI) environment, so that existing Perl CGI scripts can benefit from the performance boost without having to be re-written.
Unlike CGI (and most other web application environments), mod_perl provides complete access to the Apache API, allowing programmers to write handlers for all phases in the Apache request cycle, manipulate Apache's internal tables and state mechanisms, share data between Apache processes or threads, alter or extend the Apache configuration file parser, and add Perl code to the configuration file itself, among other things.
See also
External links
- Main website
- Why mod_perl?
- The magic of mod_perl
- Writing Apache Modules with Perl and C
- The mod_perl Developer's Cookbook
- Practical mod_perl
- mod_perl2 User's Guide
- An easy step-by-step installation guide for mod_perl2 on Unix/Linux and Windows/ReactOS