Share

WIKIPEDIA ARTICLE

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

mod_perl
Developer(s) Apache Software Foundation
Stable release
2.0.10 / October 27, 2016 (2016-10-27)[1]
Repository Edit this at Wikidata
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. In addition to allowing Apache modules to be written in the Perl programming language, it allows the Apache web server to be dynamically configured by Perl programs. However, its most common use is 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.

Slash, which runs the web site Slashdot, is written using mod_perl.[2] Early versions of PHP were implemented in Perl using mod_perl.[3]

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[edit]

References[edit]

  1. ^ "Download". Retrieved 14 June 2017. 
  2. ^ "Slash installation". slashcode.com. Archived from the original on 2015-05-04. 
  3. ^ "Paying Homage to Perl (PHP)". theperlreview.com. February 2003. Archived from the original on 2013-06-25. 

External links[edit]


Disclaimer

None of the audio/visual content is hosted on this site. All media is embedded from other sites such as GoogleVideo, Wikipedia, YouTube etc. Therefore, this site has no control over the copyright issues of the streaming media.

All issues concerning copyright violations should be aimed at the sites hosting the material. This site does not host any of the streaming media and the owner has not uploaded any of the material to the video hosting servers. Anyone can find the same content on Google Video or YouTube by themselves.

The owner of this site cannot know which documentaries are in public domain, which has been uploaded to e.g. YouTube by the owner and which has been uploaded without permission. The copyright owner must contact the source if he wants his material off the Internet completely.

Powered by YouTube
Wikipedia content is licensed under the GFDL and (CC) license