Embedded Perl for Apache
The Apache/Perl integration project brings together the full power of
the Perl programming language and the Apache HTTP server.
With mod_perl, it is possible to write Apache modules entirely in Perl.
The persistent interpreter embedded in the server avoids the overhead
of starting an external interpreter and the penalty of Perl start-up
time.
Note that you do not need mod_perl to run perl scripts via the common
gateway interface (CGI). mod_perl enables you to run Perl scripts in an
embedded interpreter if the additional performance is needed, but may
require modifications to the scripts.
Usage:
To load the module into Apache, run the command "a2enmod perl" as root.
To learn about the configuration, the best reference unequivocally is
http://perl.apache.org/docs/
For porting 1.0 applications to 2.0, the page
http://perl.apache.org/docs/2.0/user/porting/compat.html should give
the required information.
Most mod_perl handlers use the perl-script handler. Scripts can run in
"mod_perl mode" (preconfigured for URLs starting with /perl/) or "perl
cgi mode" (preconfigured for URLs starting /cgi-perl). Plain CGI
scripts can be run via /cgi-bin/. In all these cases, the script would
be placed inside the /srv/www/cgi-bin/ directory. Refer to
/etc/apache2/conf.d/mod_perl.conf about this configuration.
- Developed at Apache:Modules
- Sources inherited from project openSUSE:Factory
-
3
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Backports:SLE-15-SP4:FactoryCandidates/apache2-mod_perl && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
apache2-mod_perl-prctl-short-name.patch | 0000000688 688 Bytes | |
apache2-mod_perl.changes | 0000021074 20.6 KB | |
apache2-mod_perl.keyring | 0000042740 41.7 KB | |
apache2-mod_perl.spec | 0000007186 7.02 KB | |
avoid-broken-provides.diff | 0000000645 645 Bytes | |
mod_perl-2.0.13.tar.gz | 0003848487 3.67 MB | |
mod_perl-2.0.13.tar.gz.asc | 0000000849 849 Bytes |
Latest Revision
- Add /srv/www to filelist [bsc#1231027] (forwarded request 1204298 from kukuk)
Comments 0