Apache Perl Modules
Số trang: 36
Loại file: pdf
Dung lượng: 321.85 KB
Lượt xem: 8
Lượt tải: 0
Xem trước 4 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
Nhiều bên thứ ba mô-đun đã được viết để mở rộng chức năng cốt lõi của mod_perl. Họ có thể được phân phối với mã nguồn mod_perl, hoặc họ có thể sẵn có từ CPAN. Trong chương này, chúng tôi sẽ cố gắng nhóm dựa trên các phân hệ chức năng của họ. Một số mô-đun sẽ được thảo luận trong chiều sâu, nhưng những người khác sẽ được xúc động về một thời gian ngắn mà thôi. Vì hầu hết các mô-đun liên tục phát triển, thời điểm cuốn sách này được công bố nhiều thông tin trong nó...
Nội dung trích xuất từ tài liệu:
Apache Perl Modules,appb.27123 Page 764 Thursday, November 18, 2004 12:49 PM Appendix B B APPENDIX Apache Perl Modules Many third-party modules have been written to extend mod_perl’s core functional- ity. They may be distributed with the mod_perl source code, or they may be avail- able from CPAN. In this chapter we will attempt to group these modules based on their functionality. Some modules will be discussed in depth, but others will be touched on only briefly. Since most of these modules are continually evolving, the moment this book is pub- lished much of the information in it will be out of date. For this reason, you should refer to the modules’ manpages when you start using them; that’s where you will find the most up-to-date documentation. We will consider modules in the following groups: Development Modules used mainly during the development process Debugging Modules that assist in code debugging Control and monitoring Modules to help you monitor the production server and take care of any prob- lems as soon as they appear Server configuration Modules used in server configuration Authentication Modules used to facilitate authentication Authorization Modules used to facilitate authorization Access Modules used during the access-verification phase Type handlers Modules used as PerlTypeHandlers 764 This is the Title of the Book, eMatter Edition Copyright © 2004 O’Reilly & Associates, Inc. All rights reserved.,appb.27123 Page 765 Thursday, November 18, 2004 12:49 PM Trans handlers Modules used as PerlTransHandlers Fixup Handlers Modules used as PerlFixupHandlers Generic content-generation phase Generic modules that assist during the content-generation phase Application-specific content generation phase Non–general-purpose content generators Database Database-specific modules Toolkits and framework for content generation and other phases Mostly large toolkits and frameworks built on top of mod_perl Output filters and layering Modules that filter output from the content generation stage Logging-phase handlers Modules that assist during the logging stage Core Apache Modules that interface with core mod_perl Miscellaneous Modules that don’t fit into any of the above categories Development-Stage Modules The following modules are mainly useful during the code-development cycle. Some of them can also be useful in the production environment. Apache::Reload—Automatically Reload Changed Modules Apache::Reload is used to make specific modules reload themselves when they have changed. It’s also very useful for mod_perl module development. Covered in Chapter 6. Available from CPAN. See the module manpage for more information. Apache::PerlVINC—Allow Module Versioning in and blocks This module makes it possible to have different @INC values for different s, s, and equivalent configuration blocks. Development-Stage Modules | 765 This is the Title of the Book, eMatter Edition Copyright © 2004 O’Reilly & Associates, Inc. All rights reserved.,appb.27123 Page 766 Thursday, November 18, 2004 12:49 PM Suppose two versions of Apache::Status are being hacked on the same server. In this configuration: PerlModule Apache::PerlVINC SetHandler perl-script PerlHandler Apache::Status PerlINC /home/httpd/dev/lib PerlFixupHandler Apache::PerlVINC PerlVersion Apache/Status.pm SetHandler perl-script PerlHandler Apache::Status PerlINC /home/httpd/prod/lib ...
Nội dung trích xuất từ tài liệu:
Apache Perl Modules,appb.27123 Page 764 Thursday, November 18, 2004 12:49 PM Appendix B B APPENDIX Apache Perl Modules Many third-party modules have been written to extend mod_perl’s core functional- ity. They may be distributed with the mod_perl source code, or they may be avail- able from CPAN. In this chapter we will attempt to group these modules based on their functionality. Some modules will be discussed in depth, but others will be touched on only briefly. Since most of these modules are continually evolving, the moment this book is pub- lished much of the information in it will be out of date. For this reason, you should refer to the modules’ manpages when you start using them; that’s where you will find the most up-to-date documentation. We will consider modules in the following groups: Development Modules used mainly during the development process Debugging Modules that assist in code debugging Control and monitoring Modules to help you monitor the production server and take care of any prob- lems as soon as they appear Server configuration Modules used in server configuration Authentication Modules used to facilitate authentication Authorization Modules used to facilitate authorization Access Modules used during the access-verification phase Type handlers Modules used as PerlTypeHandlers 764 This is the Title of the Book, eMatter Edition Copyright © 2004 O’Reilly & Associates, Inc. All rights reserved.,appb.27123 Page 765 Thursday, November 18, 2004 12:49 PM Trans handlers Modules used as PerlTransHandlers Fixup Handlers Modules used as PerlFixupHandlers Generic content-generation phase Generic modules that assist during the content-generation phase Application-specific content generation phase Non–general-purpose content generators Database Database-specific modules Toolkits and framework for content generation and other phases Mostly large toolkits and frameworks built on top of mod_perl Output filters and layering Modules that filter output from the content generation stage Logging-phase handlers Modules that assist during the logging stage Core Apache Modules that interface with core mod_perl Miscellaneous Modules that don’t fit into any of the above categories Development-Stage Modules The following modules are mainly useful during the code-development cycle. Some of them can also be useful in the production environment. Apache::Reload—Automatically Reload Changed Modules Apache::Reload is used to make specific modules reload themselves when they have changed. It’s also very useful for mod_perl module development. Covered in Chapter 6. Available from CPAN. See the module manpage for more information. Apache::PerlVINC—Allow Module Versioning in and blocks This module makes it possible to have different @INC values for different s, s, and equivalent configuration blocks. Development-Stage Modules | 765 This is the Title of the Book, eMatter Edition Copyright © 2004 O’Reilly & Associates, Inc. All rights reserved.,appb.27123 Page 766 Thursday, November 18, 2004 12:49 PM Suppose two versions of Apache::Status are being hacked on the same server. In this configuration: PerlModule Apache::PerlVINC SetHandler perl-script PerlHandler Apache::Status PerlINC /home/httpd/dev/lib PerlFixupHandler Apache::PerlVINC PerlVersion Apache/Status.pm SetHandler perl-script PerlHandler Apache::Status PerlINC /home/httpd/prod/lib ...
Tìm kiếm theo từ khóa liên quan:
thủ thuật máy tính công nghệ thông tin tin học quản trị mạng computer networkTài liệu liên quan:
-
52 trang 434 1 0
-
24 trang 360 1 0
-
Top 10 mẹo 'đơn giản nhưng hữu ích' trong nhiếp ảnh
11 trang 321 0 0 -
Làm việc với Read Only Domain Controllers
20 trang 312 0 0 -
74 trang 304 0 0
-
96 trang 299 0 0
-
Báo cáo thực tập thực tế: Nghiên cứu và xây dựng website bằng Wordpress
24 trang 293 0 0 -
Đồ án tốt nghiệp: Xây dựng ứng dụng di động android quản lý khách hàng cắt tóc
81 trang 286 0 0 -
EBay - Internet và câu chuyện thần kỳ: Phần 1
143 trang 277 0 0 -
Tài liệu hướng dẫn sử dụng thư điện tử tài nguyên và môi trường
72 trang 270 0 0