cvs commit: modperl INSTALL.raven Changes MANIFEST

2000-04-12 Thread dougm

dougm   00/04/12 09:13:11

  Modified:.Changes MANIFEST
  Added:   .INSTALL.raven
  Log:
  added INSTALL.raven
  
  Revision  ChangesPath
  1.465 +3 -0  modperl/Changes
  
  Index: Changes
  ===
  RCS file: /home/cvs/modperl/Changes,v
  retrieving revision 1.464
  retrieving revision 1.465
  diff -u -r1.464 -r1.465
  --- Changes   2000/04/11 16:38:26 1.464
  +++ Changes   2000/04/12 16:13:09 1.465
  @@ -10,6 +10,9 @@
   
   =item 1.22_01-dev
   
  +added INSTALL.raven
  +[Adam Qualset [EMAIL PROTECTED]]
  +
   $c-remote_ip($ip) now also sets conn-remote_addr to make
   IP-based access control work correctly
   [Eric Cholet [EMAIL PROTECTED]]
  
  
  
  1.65  +1 -0  modperl/MANIFEST
  
  Index: MANIFEST
  ===
  RCS file: /home/cvs/modperl/MANIFEST,v
  retrieving revision 1.64
  retrieving revision 1.65
  diff -u -r1.64 -r1.65
  --- MANIFEST  2000/04/03 04:48:52 1.64
  +++ MANIFEST  2000/04/12 16:13:09 1.65
  @@ -22,6 +22,7 @@
   SUPPORT
   INSTALL.win32
   INSTALL.activeperl
  +INSTALL.raven
   MANIFEST
   ToDo
   Makefile.PL
  
  
  
  1.1  modperl/INSTALL.raven
  
  Index: INSTALL.raven
  ===
  This document explains how to install mod_perl with Raven SSL and Apache.
  Please consult http://www.covalent.net/support if you have additional
  questions.
  
  METHOD 1: Installing mod_perl dynamically (DSO) - Installs Raven SSL and
  mod_perl dynamically
  
  1) untar and gunzip Raven SSL and mod_perl into their respective directories
  2) cd raven_ssl-x.x.x.  Install Raven SSL and Apache via
  ./setup --with-apache
  3) cd mod_perl directory
  4) perl Makefile.PL USE_APXS=1 \
 WITH_APXS=/usr/local/apache/bin/apxs \
 EVERYTHING=1
 [...]
  5) make ; make install
  6) move the LoadModule and Addmodule Perl lines in the Apache configuration
  file above the
  IfDefine SSL lines
  
  
  
  METHOD 2: Installing mod_perl statically - Installs Raven SSL dynamically
  and mod_perl statically
  
  1) untar and gunzip Apache, Raven SSL and mod_perl into their respective
  directories
  2) cd raven_ssl-x.x.x. Install Raven SSL via ./setup
  3) /usr/local/raven/bin/ravenctl
 select Option 1, 'Raven SSL Module Manager'
 select Option 2, 'Export Raven SSL module to Apache source'
 note: this option exports the required EAPI patches and the needed Raven
  SSL module files into your Apache source tree
  4) cd mod_perl-x.x
  5) perl Makefile.PL APACHE_PREFIX=/path/to/apache_1.x.x \
APACHE_SRC=/path/to/apache_x.x.x \
EVERYTHING=1 \
USE_APACI=1 \
PREP_HTTPD=1 \
DO_HTTPD=1
  6) make ; make install
  7) cd apache directory
  8) ./configure --target=httpsd \
  --enable-module=most \
  --enable-shared=max \
  --enable-suexec \
  --suexec-logfile=logs/suexec.log \
  --activate-module=src/modules/perl/libperl.a
  9) make ; make install
  10) in the Apache .conf file make sure that the AddModule mod_perl.c line is
  above IfDefine SSL
  
  
  



Re: cvs commit: modperl/src/modules/perl Connection.xs

2000-04-12 Thread Ask Bjoern Hansen

On 11 Apr 2000 [EMAIL PROTECTED] wrote:

   Log:
   $c-remote_ip($ip) now also sets conn-remote_addr to make
   IP-based access control work correctly

ahfdkjah! Thanks.

That have driven me nuts. It never occured to me that it was a bug and not
me being clueless though. :) You're my hero of the day.
   

 - ask

-- 
ask bjoern hansen - http://www.netcetera.dk/~ask/
more than 70M impressions per day, http://valueclick.com




cvs commit: modperl/src/modules/perl mod_perl.c

2000-04-12 Thread ask

ask 00/04/12 14:23:19

  Modified:.Changes
   src/modules/perl mod_perl.c
  Log:
  set r-notes("error-notes") to $@ when there is an eval error.
  
  Revision  ChangesPath
  1.466 +3 -0  modperl/Changes
  
  Index: Changes
  ===
  RCS file: /home/cvs/modperl/Changes,v
  retrieving revision 1.465
  retrieving revision 1.466
  diff -u -r1.465 -r1.466
  --- Changes   2000/04/12 16:13:09 1.465
  +++ Changes   2000/04/12 21:23:18 1.466
  @@ -10,6 +10,9 @@
   
   =item 1.22_01-dev
   
  +set r-notes("error-notes") to $@ when there is a compile error.
  +[ Doug / Tom Mornini [EMAIL PROTECTED]]
  +
   added INSTALL.raven
   [Adam Qualset [EMAIL PROTECTED]]
   
  
  
  
  1.115 +3 -0  modperl/src/modules/perl/mod_perl.c
  
  Index: mod_perl.c
  ===
  RCS file: /home/cvs/modperl/src/modules/perl/mod_perl.c,v
  retrieving revision 1.114
  retrieving revision 1.115
  diff -u -r1.114 -r1.115
  --- mod_perl.c2000/04/05 06:19:34 1.114
  +++ mod_perl.c2000/04/12 21:23:18 1.115
  @@ -1635,6 +1635,9 @@
   if(perl_eval_ok(r-server) != OK) {
dTHRCTX;
MP_STORE_ERROR(r-uri, ERRSV);
  +if (r-notes) {
  +ap_table_set(r-notes, "error-notes", SvPVX(ERRSV));
  +}
if(!perl_sv_is_http_code(ERRSV, status))
status = SERVER_ERROR;
   }