cvs commit: modperl-docs/src/products apache-modules.pod
stas2003/06/17 18:40:53 Modified:src/products apache-modules.pod Log: new temp section: Porting CPAN modules to mod_perl 2.0 Status Revision ChangesPath 1.4 +42 -1 modperl-docs/src/products/apache-modules.pod Index: apache-modules.pod === RCS file: /home/cvs/modperl-docs/src/products/apache-modules.pod,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- apache-modules.pod8 Oct 2002 15:49:12 - 1.3 +++ apache-modules.pod18 Jun 2003 01:40:53 - 1.4 @@ -141,6 +141,47 @@ assistance in naming your module! Furthermore, you should look at the way it's done on CPAN, and apply it under the CApache:: namespace. +=head1 Porting CPAN modules to mod_perl 2.0 Status + +If you want to port your or someone else's module to mod_perl 2.0, +please refer to the these documents: Lporting Perl modules to +mod_perl 2.0|docs::2.0::user::porting::porting and Lmod_perl 1.0 +compatibility reference|docs::2.0::user::porting::compat. + +=head2 Ported 3rd-party Modules + +The following modules have already been ported to mod_perl 2.0 and are +available from CPAN. If you know of other modules that have been +ported but not listed here, please contact Lthe modperl +list|maillist::modperl, so we can update this information: + + CGI + CGI::Cookie + Apache::Peek + Apache::AuthNetLDAP + Apache::AuthzNetLDAP + Apache::Clean + +=head1 Porting in Process + +The following modules are in the process of being ported to mod_perl +2.0. Please contact the porter if you wish to help the porting. + +If you have started the porting, in order to avoid duplicated efforts +please contact Lthe modperl +list|maillist::modperl, and let us know what module you are porting. +This information should also help others to help you to do the porting +and testing. + + Module Porters + -- + Apache::MP3Stas Bekman stas AT stason.org + Clemens Schrimpe csch AT Kiez.NET + Apache::Scoreboard Stas Bekman stas AT stason.org + Apache::VMonitor Stas Bekman stas AT stason.org + Apache::AuthPerLDAPShannon Eric Peevey speeves AT unt.edu + + =head1 Maintainers The maintainer is the person you should contact with updates, @@ -168,4 +209,4 @@ =back -=cut \ No newline at end of file +=cut - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: modperl-docs/src/products apache-modules.pod
stas2003/06/17 18:42:02 Modified:src/products apache-modules.pod Log: Apache::Request is being ported Revision ChangesPath 1.5 +1 -1 modperl-docs/src/products/apache-modules.pod Index: apache-modules.pod === RCS file: /home/cvs/modperl-docs/src/products/apache-modules.pod,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- apache-modules.pod18 Jun 2003 01:40:53 - 1.4 +++ apache-modules.pod18 Jun 2003 01:42:02 - 1.5 @@ -180,7 +180,7 @@ Apache::Scoreboard Stas Bekman stas AT stason.org Apache::VMonitor Stas Bekman stas AT stason.org Apache::AuthPerLDAPShannon Eric Peevey speeves AT unt.edu - + Apache::Requesthttp://httpd.apache.org/apreq/ =head1 Maintainers - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: modperl-docs/src/docs/2.0 index_top.html config.cfg
stas2003/06/17 18:53:11 Modified:src/docs/2.0 config.cfg Added: src/docs/2.0 index_top.html Log: add xref to the porting status Revision ChangesPath 1.3 +5 -0 modperl-docs/src/docs/2.0/config.cfg Index: config.cfg === RCS file: /home/cvs/modperl-docs/src/docs/2.0/config.cfg,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- config.cfg22 Jul 2002 15:21:51 - 1.2 +++ config.cfg18 Jun 2003 01:53:11 - 1.3 @@ -1,3 +1,4 @@ + use vars qw(@c); @c = ( @@ -5,6 +6,10 @@ title = mod_perl 2.0 Documentation, stitle = 2.0, + +body = { +top = 'index_top.html', +}, abstract = EOB, A collection of the documents specific to the mod_perl 2.0 generation. 1.1 modperl-docs/src/docs/2.0/index_top.html Index: index_top.html === html head titleindex bottom/title /head body bgcolor=white pFYI: a href=../../products/apache-modules.html#Porting_CPAN_modules_to_mod_perl_2_0_StatusPorting CPAN modules to mod_perl 2.0 Status/a/p /body /html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: modperl-docs/src/docs/2.0/user/porting porting.pod
stas2003/06/17 18:55:05 Modified:src/docs/2.0/user/porting porting.pod Log: add xref to the porting status Revision ChangesPath 1.9 +3 -0 modperl-docs/src/docs/2.0/user/porting/porting.pod Index: porting.pod === RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/porting/porting.pod,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- porting.pod 11 Jun 2003 00:44:47 - 1.8 +++ porting.pod 18 Jun 2003 01:55:05 - 1.9 @@ -13,6 +13,9 @@ about Lporting Apache:: XS modules|docs::2.0::devel::porting::porting. +There is also: LPorting CPAN modules to mod_perl 2.0 +Status|products::apache-modules/Porting_CPAN_modules_to_mod_perl_2_0_Status. + =head1 Introduction In the vast majority of cases, a perl Apache module that runs under - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: modperl-docs/src/docs/2.0/user/handlers http.pod
stas2003/06/18 01:35:29 Modified:src/docs/2.0/user/handlers http.pod Log: s/Apache::AUTH_REQUIRED/Apache::HTTP_UNAUTHORIZED/, the previous one is deprecated Submitted by: Shannon Eric Peevey [EMAIL PROTECTED] Revision ChangesPath 1.22 +8 -8 modperl-docs/src/docs/2.0/user/handlers/http.pod Index: http.pod === RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/handlers/http.pod,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- http.pod 6 Jun 2003 09:24:46 - 1.21 +++ http.pod 18 Jun 2003 08:35:29 - 1.22 @@ -592,7 +592,7 @@ This phase is usually used to verify a user's identification credentials. If the credentials are verified to be correct, the handler should return CApache::OK. Otherwise the handler returns -CApache::AUTH_REQUIRED to indicate that the user has not +CApache::HTTP_UNAUTHORIZED to indicate that the user has not authenticated successfully. When Apache sends the HTTP header with this code, the browser will normally pop up a dialog box that prompts the user for login information. @@ -618,7 +618,7 @@ use Apache::Access (); use Apache::RequestUtil (); - use Apache::Const -compile = qw(OK DECLINED AUTH_REQUIRED); + use Apache::Const -compile = qw(OK DECLINED HTTP_UNAUTHORIZED); use Apache::Access(); @@ -634,7 +634,7 @@ if SECRET_LENGTH == length join , $r-user, $password; $r-note_basic_auth_failure; - return Apache::AUTH_REQUIRED; + return Apache::HTTP_UNAUTHORIZED; } 1; @@ -679,7 +679,7 @@ storing passwords in clear is a bad idea. Finally if our authentication fails the handler calls -note_basic_auth_failure() and returns CApache::AUTH_REQUIRED, which +note_basic_auth_failure() and returns CApache::HTTP_UNAUTHORIZED, which sets the proper HTTP response headers that tell the client that its user that the authentication has failed and the credentials should be supplied again. @@ -736,7 +736,7 @@ resource is password protected, similar to the auth phase. The handler is expected to return CApache::DECLINED to defer the decision, CApache::OK to indicate its acceptance of the user's authorization, -or CApache::AUTH_REQUIRED to indicate that the user is not +or CApache::HTTP_UNAUTHORIZED to indicate that the user is not authorized to access the requested document. This phase is of type @@ -759,7 +759,7 @@ use Apache::Access (); use Apache::RequestUtil (); - use Apache::Const -compile = qw(OK AUTH_REQUIRED); + use Apache::Const -compile = qw(OK HTTP_UNAUTHORIZED); use Apache::Access (); @@ -784,7 +784,7 @@ } $r-note_basic_auth_failure; - return Apache::AUTH_REQUIRED; + return Apache::HTTP_UNAUTHORIZED; } 1; @@ -804,7 +804,7 @@ authentication fails, i.e, calls: $r-note_basic_auth_failure; - return Apache::AUTH_REQUIRED; + return Apache::HTTP_UNAUTHORIZED; The configuration is similar to the one in Lthe previous section|/PerlAuthenHandler, this time we just add the - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]