Mod perl
From Wikipedia, the free encyclopedia
- The title of this article should be mod_perl. The initial letter is capitalized and an underscore is substituted or omitted because of technical restrictions.
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 D. Stein defined mod_perl in his word:
| “ | 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! | ” |
mod_perl can emulate a 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.
[edit] See also
| Free software Portal |
[edit] External links
Apache Software Foundation | |
|---|---|
| Top level projects | ActiveMQ · Ant · Apache HTTP Server · APR · Beehive · Camel · Cayenne · Cocoon · Commons · Directory · Excalibur · Felix · Forrest · Geronimo · Gump · Harmony · HiveMind · iBATIS · Jackrabbit · James · Lenya · Maven · mod_perl · MyFaces · OFBiz · OpenEJB · OpenJPA · POI · Roller · Shale · SpamAssassin · Struts · Tapestry · Tomcat · Velocity · WebWork 2 · Wicket · XMLBeans |
| Other projects | Jakarta Project · Apache Lucene · Apache XML · Apache Incubator |
| Sub-projects | BCEL · BSF · Cactus · JMeter · Slide · Xerces · Batik · FOP · Log4j · XAP · River · ServiceMix · Log4Net · Abdera · Ivy · CXF · Hadoop |
| License: Apache License · Website: http://apache.org/ | |
Web server interfaces | |
|---|---|
| General | Common Gateway Interface (CGI) · Simple CGI · FastCGI |
| Technology specific | ISAPI · Java Servlet · NSAPI · AJP · Python WSGI |
| Apache modules | mod_perl · mod_php · mod_python · mod_ruby |
fi:mod_perl pl:mod_perl pt:mod_perl ru:mod_perl

