mod_perl

from Wikipedia, the free encyclopedia

mod_perl is a free optional module for the Apache web server , which comprises a Perl - interpreter integrated in the web server. In this way, Perl scripts can be executed for dynamic web content without having to restart the Perl interpreter for each HTTP request. Existing CGI - scripts can thanks to an emulation layer continue to be used. It can also be used to easily create new modules for the Apache web server. mod_perl also enables exotic features such as the use of Perl in the Apache configuration file .

mod_perl is freely available under the Apache license and is maintained by the Apache Software Foundation .

Alternatives

Alternatively, the execution of Perl scripts on web servers is also accelerated with FastCGI . Compared to mod_perl , this has the advantage that the script does not necessarily run with the user rights of the web server process, but under a different user ID. This represents a significant gain in security, especially for mass web hosts .

Similar techniques also exist for scripting languages ​​similar to Perl; for PHP the associated Apache module is called mod_php , for Python it is called mod_python .

See also

literature

Web links