Mod perl
mod_perl ist ein freies optionales Modul für den Apache Webserver, welches einen Perl-Interpreter in den Webserver integriert. Auf diese Weise können Perl-Skripte für dynamische Web-Inhalte ausgeführt werden, ohne dass für jede HTTP-Anfrage der Perl-Interpreter neu gestartet werden muss. Bestehende CGI-Skripte können dank einer Emulationsschicht weiterverwendet werden. Außerdem lassen sich damit einfach neue Module für den Apache Webserver erstellen. mod_perl ermöglicht aber auch exotische Features wie die Verwendung von Perl in der Apache-Konfigurationsdatei.
mod_perl ist unter der Apache-Lizenz frei verfügbar und wird von der Apache Software Foundation gepflegt.
Alternativen
Alternativ wird die Ausführung von Perl-Scripten auf Webservern auch mit FastCGI beschleunigt. Gegenüber mod_perl hat dies den Vorteil, dass das Script nicht zwangsläufig mit den Benutzerrechten des Webserver-Prozesses, sondern unter einer anderen Benutzerkennung laufen kann. Besonders für Massenwebhoster stellt dies einen wesentlichen Gewinn an Sicherheit dar.
Auch für ähnliche Scriptsprachen wie Perl existieren vergleichbare Techniken; für PHP nennt sich das zugehörige Apache-Modul mod php, für Python heißt es mod_python.
Siehe auch
Literatur
- Lincoln Stein, Doug MacEachern: Writing Apache Modules with Perl and C. O’Reilly Media Inc. ISBN 1-56592-567-X (online)
- Paul Lindner, Geoffrey Young, Randy Kobes: mod_perl Developer's Cookbook. Sams. ISBN 0-672-32240-4 (online)
- Stas Bekam, Eric Cholet: Practical mod_perl. O’Reilly Media Inc. ISBN 0-596-00227-0 (online)
- Stas Bekam, Jim Brandt: mod_perl2 User's Guide Book. OnyxNeon 2007. ISBN 0-9779201-1-9 (online)
Weblinks
- Offizielle Webseite von mod_perl (englisch)
- Frank Wiles: The Magic of mod_perl – Einführender Artikel über mod_perl (englisch)
- Stas Bekman: Why mod_perl? (englisch)
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.