perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@hyperreal.org
Subject cvs commit: modperl/src/modules/perl Apache.xs
Date Tue, 11 Aug 1998 19:14:15 GMT
dougm       98/08/11 12:14:15

  Modified:    .        Changes apache-modlist.html
               Apache   Apache.pm
               src/modules/perl Apache.xs
  Log:
  added $r->internal_redirect method
  
  Revision  Changes    Path
  1.107     +2 -0      modperl/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /export/home/cvs/modperl/Changes,v
  retrieving revision 1.106
  retrieving revision 1.107
  diff -u -r1.106 -r1.107
  --- Changes	1998/08/11 16:52:37	1.106
  +++ Changes	1998/08/11 19:14:12	1.107
  @@ -8,6 +8,8 @@
   
   =item 1.15_01-dev
   
  +added $r->internal_redirect method
  +
   Apache::TieHashTable class enhancements:
   
    -get() in list context will return all values found for the given key
  
  
  
  1.31      +3 -1      modperl/apache-modlist.html
  
  Index: apache-modlist.html
  ===================================================================
  RCS file: /export/home/cvs/modperl/apache-modlist.html,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- apache-modlist.html	1998/07/22 23:06:06	1.30
  +++ apache-modlist.html	1998/08/11 19:14:12	1.31
  @@ -8,7 +8,7 @@
   <h1>The Apache/Perl Module List</h1>
   
   Maintained by <a href="mailto:dougm@pobox.com">Doug MacEachern</a>,
  -<br><i> $Revision: 1.30 $ $Date: 1998/07/22 23:06:06 $</i>
  +<br><i> $Revision: 1.31 $ $Date: 1998/08/11 19:14:12 $</i>
   
   <h3>Contents</h3>
   <a href="#intro">Introduction</a><br>
  @@ -110,6 +110,7 @@
   AuthNIS		bdpf	NIS authentication and authorization	DOUGM
   AuthenRaduis	bdpf	Authentication via a Radius server	DANIEL
   AuthenSmb	bdpf	Authenticate against NT server		PARKER
  +AuthenURL	bdpf	Authenticate via another URL		JGROENVEL
   BasicCookieAuth	cdpf	Accept cookie or basic auth creds	PMKANE
   DBILogin	bdpf	Authenticate to backend database 	JGROENVEL
   DCELogin	bdpf	Obtain a DCE login context		DOUGM
  @@ -142,6 +143,7 @@
   * PerlFixupHandler's
   HttpEquiv	bdpf	HTML HTTP-EQUIV tags to HTTP headers	ROBH
   Timeit		bmpf	Benchmark PerlHandlers			APML
  +Usertrack	bdpf	Perl version of mod_usertrack		ABH
   
   * PerlLogHandler's
   DBILogConfig	bdpf	Custom format logging via DBI		JBODNAR
  
  
  
  1.14      +8 -4      modperl/Apache/Apache.pm
  
  Index: Apache.pm
  ===================================================================
  RCS file: /export/home/cvs/modperl/Apache/Apache.pm,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- Apache.pm	1998/07/30 15:37:14	1.13
  +++ Apache.pm	1998/08/11 19:14:13	1.14
  @@ -5,7 +5,7 @@
   use Apache::SIG ();
   
   @Apache::EXPORT_OK = qw(exit warn fork forkoption);
  -$Apache::VERSION = "1.23";
  +$Apache::VERSION = "1.24";
   
   *import = \&Exporter::import;
   
  @@ -661,7 +661,7 @@
   
   =item $s->names
   
  -Returns the wild-carded names for HostAlias servers. 
  +Returns the wild-carded names for ServerAlias servers. 
   
   =item $s->warn
   
  @@ -833,12 +833,16 @@
     $r->send_fd(FILE);
     close(FILE);
   
  -=item $r->internal_redirect_handler( $newplace )
  +=item $r->internal_redirect( $newplace )
   
   Redirect to a location in the server namespace without 
   telling the client. For instance:
  +
  +   $r->internal_redirect("/home/sweet/home.html");
  +
  +=item $r->internal_redirect_handler( $newplace )
   
  -   $r->internal_redirect_handler("/home/sweet/home.html");
  +Same as I<internal_redirect>, but the I<handler> from C<$r> is preserved.
   
   =item $r->custom_response($code, $uri)
   
  
  
  
  1.48      +11 -1     modperl/src/modules/perl/Apache.xs
  
  Index: Apache.xs
  ===================================================================
  RCS file: /export/home/cvs/modperl/src/modules/perl/Apache.xs,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- Apache.xs	1998/08/07 00:48:35	1.47
  +++ Apache.xs	1998/08/11 19:14:14	1.48
  @@ -990,8 +990,18 @@
       Apache	r
       char *      location
   
  +    ALIAS: 
  +    Apache::internal_redirect = 1
  +
       CODE:
  -    internal_redirect_handler(location, r);
  +    switch((ix = XSANY.any_i32)) {
  +	case 0:
  +	internal_redirect_handler(location, r);
  +	break;
  +	case 1:
  +	internal_redirect(location, r);
  +	break;
  +    }
   
   #functions from http_log.c
   
  
  
  

Mime
View raw message