Writing Apache Modules with Perl and C

Writing Apache Modules with Perl and C PDF Author: Lincoln Stein
Publisher: "O'Reilly Media, Inc."
ISBN: 9781565925670
Category : Computers
Languages : en
Pages : 756

Get Book Here

Book Description
Apache is the most popular web server on the Internet because it is free, reliable, and extensible. The availability of the source code and the modular design of Apache makes it possible to extend web server functionality through the Apache API. For the most part, however, the Apache API has only been available to C programmers, and requires rebuilding the Apache server from source. mod_perl, the popular Apache module used primarily for enhanced CGI performance, changed all that by making the Apache API available to Perl programmers. With mod_perl, it becomes simple to develop Apache modules with Perl and install them without having to rebuild the web server. Writing Apache Modules with Perl and C shows how to extend web server capabilities regardless of whether the programming language is Perl or C. The book explains the design of Apache, mod_perl, and the Apache API. It then demonstrates how to use them to perform for tasks like the following: Rewriting CGI scripts as Apache modules to vastly improve performance Server-side filtering of HTML documents, to embed special markup or code (much like SSI) Enhancing server log functionality Converting file formats on the fly Implementing dynamic navigation bars Incorporating database access into CGI scripts Customizing access control and authorization to block robots or to use an external database for passwords The authors are Lincoln Stein and Doug MacEachern. Lincoln is the successful author of How to Set Up and Maintain a World Wide web Site and the developer of the widely used Perl CGI.pm module. Doug is a consultant and the creator of the innovative mod_perl Apache module.

Writing Apache Modules with Perl and C

Writing Apache Modules with Perl and C PDF Author: Lincoln Stein
Publisher: "O'Reilly Media, Inc."
ISBN: 9781565925670
Category : Computers
Languages : en
Pages : 756

Get Book Here

Book Description
Apache is the most popular web server on the Internet because it is free, reliable, and extensible. The availability of the source code and the modular design of Apache makes it possible to extend web server functionality through the Apache API. For the most part, however, the Apache API has only been available to C programmers, and requires rebuilding the Apache server from source. mod_perl, the popular Apache module used primarily for enhanced CGI performance, changed all that by making the Apache API available to Perl programmers. With mod_perl, it becomes simple to develop Apache modules with Perl and install them without having to rebuild the web server. Writing Apache Modules with Perl and C shows how to extend web server capabilities regardless of whether the programming language is Perl or C. The book explains the design of Apache, mod_perl, and the Apache API. It then demonstrates how to use them to perform for tasks like the following: Rewriting CGI scripts as Apache modules to vastly improve performance Server-side filtering of HTML documents, to embed special markup or code (much like SSI) Enhancing server log functionality Converting file formats on the fly Implementing dynamic navigation bars Incorporating database access into CGI scripts Customizing access control and authorization to block robots or to use an external database for passwords The authors are Lincoln Stein and Doug MacEachern. Lincoln is the successful author of How to Set Up and Maintain a World Wide web Site and the developer of the widely used Perl CGI.pm module. Doug is a consultant and the creator of the innovative mod_perl Apache module.

Network Programming with Perl

Network Programming with Perl PDF Author: Lincoln D. Stein
Publisher: Addison-Wesley Professional
ISBN: 9780201615715
Category : Computers
Languages : en
Pages : 798

Get Book Here

Book Description
A text focusing on the methods and alternatives for designed TCP/IP-based client/server systems and advanced techniques for specialized applications with Perl. A guide examining a collection of the best third party modules in the Comprehensive Perl Archive Network. Topics covered: Perl function libraries and techniques that allow programs to interact with resources over a network. IO: Socket library ; Net: FTP library -- Telnet library -- SMTP library ; Chat problems ; Internet Message Access Protocol (IMAP) issues ; Markup-language parsing ; Internet Protocol (IP) broadcasting and multicasting.

The Apache Modules Book

The Apache Modules Book PDF Author: Nick Kew
Publisher: Prentice Hall Professional
ISBN: 0132704501
Category : Computers
Languages : en
Pages : 589

Get Book Here

Book Description
"Do you learn best by example and experimentation? This book is ideal. Have your favorite editor and compiler ready–you'll encounter example code you'll want to try right away. You've picked the right book–this is sure to become the de facto standard guide to writing Apache modules." –Rich Bowen, coauthor, Apache Administrators Handbook, Apache Cookbook, and The Definitive Guide to Apache mod_rewrite "A first-rate guide to getting the most out of Apache as a modular application platform–sure to become a must-read for any Apache programmer, from beginner to experienced professional. It builds up carefully and meticulously from the absolute basics, while including chapters on everything from the popular Apache DBD Framework to best practices, security, and debugging." –Noirin Plunkett, documentation committer to the Apache httpd project, and member of the ASF conference committee The Only Comprehensive Guide to Developing Apache 2.x Modules and Applications Apache is more than the world's most popular Web server–it's also an extraordinarily powerful and extensible development platform. Now, ApacheTutor.org's Nick Kew has written The Apache Modules Book, the first start-to-finish, example-rich guide for every developer who wants to make the most of Apache. Kew begins with detailed, accessible introductions to Apache's architecture and API, then illuminates all the techniques you'll need, from request processing through code security. He brings together the best of both worlds: powerful C-based techniques for accomplishing tasks Perl or PHP can't handle, implemented with tools that deliver all the productivity you'd expect from higher-level languages. Utilizing realistic code samples, Kew introduces techniques documented in no other book-and, often, nowhere else at all. Coverage includes Using Apache Portable Runtime (APR) to streamline C development and avoid its pitfalls Leveraging Apache DBD to build applications far more scalable than classic LAMP software Working with the latest Apache 2.x features: filter modules, XML support, and smart proxies Mastering best practices, from thread safety to multi-platform development Utilizing the Apache Authentication Framework Tracing and debugging problems in both Apache and your custom modules Foreword Preface Acknowledgments About the Author Chapter 1 Applications Development with Apache Chapter 2 The Apache Platform and Architecture Chapter 3 The Apache Portable Runtime Chapter 4 Programming Techniques and Caveats Chapter 5 Writing a Content Generator Chapter 6 Request Processing Cycle and Metadata Handlers Chapter 7 AAA: Access, Authentication, and Authorization Chapter 8 Filter Modules Chapter 9 Configuration for Modules Chapter 10 Extending the API Chapter 11 The Apache Database Framework Chapter 12 Module Debugging Appendix A Apache License Appendix B Contributor License Agreements Appendix C Hypertext Transfer Protocol: HTTP/1.1 Index About the Web Site ApacheTutor.org contains code examples from the book, all designed for easy use and integration into existing applications.

Apache

Apache PDF Author: Ben Laurie
Publisher: "O'Reilly Media, Inc."
ISBN: 0596002033
Category : Computers
Languages : en
Pages : 591

Get Book Here

Book Description
Describes the history of the Web server platform and covers downloading and compiling, configuring and running the program on UNIX, writing specialized modules, and establishing security routines.

Mod_perl Developer's Cookbook

Mod_perl Developer's Cookbook PDF Author: Geoffrey Young
Publisher: Sams Publishing
ISBN: 9780672322402
Category : Computers
Languages : en
Pages : 676

Get Book Here

Book Description
A task-based reference that will provide experienced developers with useful recipes and easy-to-follow solutions to common problems when using mod_perl in Web applications. The first mod_perl cookbook, containing valuable recipes that use mod_perl to extend the Apache API. with tricks, solutions, and idioms .

Apache Server 2.0: The Complete Reference

Apache Server 2.0: The Complete Reference PDF Author: Ryan Bloom
Publisher: McGraw Hill Professional
ISBN: 0072228032
Category : Computers
Languages : en
Pages : 818

Get Book Here

Book Description
Install, configure, administer, and secure the world’s leading Web server using this comprehensive resource. Written by a lead Apache developer, this book provides you with all the hands-on guidance you need to administer Apache on multiple platforms.

Practical Mod_perl

Practical Mod_perl PDF Author: Stas Bekman
Publisher: "O'Reilly Media, Inc."
ISBN: 0596002270
Category : Computers
Languages : en
Pages : 924

Get Book Here

Book Description
This book gives detailed instructions on how to use, optimize, and troubleshoot mod_perl. It shows how to get this Apache module running quickly and easily.

Apache Server Unleashed

Apache Server Unleashed PDF Author: Rich Bowen
Publisher: Sams Publishing
ISBN: 9780672318085
Category : Computers
Languages : en
Pages : 0

Get Book Here

Book Description
Apache Server Unleashed is designed for both the Apache Web developer and system administrator. Apache Server Unleashed teaches you how to extend the base server through CGI scripts and modules, with extensive advanced coverage on modules. This book teaches the system administrator how to fine-tune the server for specific traffic use. Some topics include how to start, stop and restart the server in order to update, retune, and address any general or disaster recovery issues. Learn underlying architecture of Apache Server, specifically security and authentication, as well as newer topics such as running Apache on Windows NT.

Apache Server 2 Bible

Apache Server 2 Bible PDF Author: Mohammed J. Kabir
Publisher: Wiley
ISBN: 9780764548215
Category : Computers
Languages : en
Pages : 0

Get Book Here

Book Description
Best-selling author Mohammed Kabir expands coverage to include how to make practical use of the Apache Server. Written in the Bible's well-known comprehensive style, this book covers the "new" release of the award-winning Apache Web Server software.

Sams Teach Yourself Apache 2 in 24 Hours

Sams Teach Yourself Apache 2 in 24 Hours PDF Author: Daniel López Ridruejo
Publisher: Sams Publishing
ISBN: 9780672323553
Category : Computers
Languages : en
Pages : 498

Get Book Here

Book Description
Sams Teach Yourself Apache in 24 Hours covers the installation, configuration, and ongoing administration of the Apache Web server, the most popular Internet Web server. It covers both the 1.3 and the new 2.0 versions of Apache. Using a hands-on, task-oriented format, it concentrates on the most popular features and common quirks of the server. The first part of the book helps the reader build, configure, and get started with Apache. After completing these chapters the reader will be able to start, stop, and monitor the Web server. He also will be able to serve both static content and dynamic content, customize the logs, and restrict access to certain parts of the Web server. The second part of the book explains in detail the architecture of Apache and how to extend the server via third-party modules like PHP and Tomcat. It covers server performance and scalability, content management, and how to set up a secure server with SSL.