cvs commit: modperl-site win32_binaries.html win32_binaries.pod win32_compile.html win32_compile.pod win32_multithread.html win32_multithread.pod index.html
stas01/12/20 23:44:43 Modified:.index.html Added: .win32_binaries.html win32_binaries.pod win32_compile.html win32_compile.pod win32_multithread.html win32_multithread.pod Log: add win32 docs by Randy Kobes Revision ChangesPath 1.97 +8 -0 modperl-site/index.html Index: index.html === RCS file: /home/cvs/modperl-site/index.html,v retrieving revision 1.96 retrieving revision 1.97 diff -u -r1.96 -r1.97 --- index.html2001/12/12 05:15:04 1.96 +++ index.html2001/12/21 07:44:43 1.97 @@ -367,6 +367,14 @@ +Win32 specific documentation: + Binaries (pod) + Compilation (pod) + Multithreading (pod) + + + + http://www.refcards.com/";>mod_perl reference card by Andrew Ford. 1.1 modperl-site/win32_binaries.html Index: win32_binaries.html === win32_binaries - obtaining Apache mod_perl-1.xx binaries for Win32 NAME DESCRIPTION ALL-IN-ONE PACKAGES PPM Packages CONFIGURATION Registry scripts Hello World APACHE MODULES SEE ALSO NAME win32_binaries - obtaining Apache mod_perl-1.xx binaries for Win32 DESCRIPTION This document discusses the two major types of binary packages available for Win32 mod_perl - all-in-one Perl/Apache/mod_perl binaries, and mod_perl ppm (Perl Package Manager) packages. ALL-IN-ONE PACKAGES There are at least two binary packages for Win32 that contain the necessary Perl and Apache binaries: http://www.indigostar.com/";>http://www.indigostar.com/ ftp://theoryx5.uwinnipeg.ca/pub/other/perl-win32-bin-x.x.exe";>ftp://theoryx5.uwinnipeg.ca/pub/other/perl-win32-bin-x.x.exe As well as including a number of non-core modules, both of these packages contain mod_perl. See the documentation on the web sites and that included with the packages for installation instructions. Both of these also include an ActiveState-compatible ppm (Perl Package Manager) utility for adding and upgrading modules. PPM Packages For users of ActivePerl, available from http://www.activestate.com/";>http://www.activestate.com/ there are also PPM mod_perl packages available. For this, if you don't already have it, get and install the latest Win32 Apache binary from http://httpd.apache.org/";>http://httpd.apache.org/ Both ActivePerl and Apache binaries are available as MSI files for use by the Microsoft Installer - as discussed on the ActiveState site, users of Windows 95 and 98 may need to obtain this. In installing these packages, you may find it convenient when transcribing any Unix-oriented documentation to choose installation directories that do not have spaces in their names (eg, C:\Perl and C:\Apache). After installing Perl and Apache, you can then install mod_perl via the PPM utility. ActiveState does not maintain mod_perl in the ppm repository, so you must get it from a different location other than ActiveState's site. One way is simply as (broken over two lines for readability) C:\> ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl.ppd";>http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl.ppd Another way, which will be useful if you plan on installing additional Apache modules, is to set the repository within the ppm shell utility as (the set repository ... command has been broken over two lines for readability): C:\> ppm PPM> set repository theoryx5 http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer";>http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer PPM> install mod_perl PPM> set save PPM> quit C:\> The set save command saves the theoryx5 repository to your PPM configuration file, so that future PPM sessions will search this repository, as well as ActiveState's, for requested packages. The mod_perl PPM package also includes the necessary Apache DLL mod_perl.so; a post-installation script should be run which will offer to copy this file to your Apache modules directory (eg, C:\Apache\modules). Note that the mod_perl package available from this site will always use the latest mod_perl sources compiled against the latest official Apache release; depending on changes made in Apache, you may or may not be able to use an earlier Apache binary. However, in the Apache Win32 world it is particularly a good idea to use the latest version, for bug and security fixes. CO
cvs commit: modperl-site/guide install.html
stas01/12/20 23:43:38 Modified:guideinstall.html Log: s|www.perl.com/CPAN-local|www.cpan.org|g as the later doesn't feature multiplexing Revision ChangesPath 1.23 +1 -1 modperl-site/guide/install.html Index: install.html === RCS file: /home/cvs/modperl-site/guide/install.html,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- install.html 2001/11/15 09:04:50 1.22 +++ install.html 2001/12/21 07:43:38 1.23 @@ -3674,7 +3674,7 @@ Running make for DOUGM/mod_perl-x.xx.tar.gz Fetching with LWP: - http://www.perl.com/CPAN-local/authors/id/DOUGM/mod_perl-x.xx.tar.gz";>http://www.perl.com/CPAN-local/authors/id/DOUGM/mod_perl-x.xx.tar.gz + http://www.cpan.org/authors/id/DOUGM/mod_perl-x.xx.tar.gz";>http://www.cpan.org/authors/id/DOUGM/mod_perl-x.xx.tar.gz CPAN.pm: Going to build DOUGM/mod_perl-x.xx.tar.gz
cvs commit: modperl-site email-etiquette.pod
stas01/12/20 23:42:55 Modified:.email-etiquette.pod Log: s|www.perl.com/CPAN-local|www.cpan.org|g as the later doesn't feature multiplexing Revision ChangesPath 1.2 +1 -1 modperl-site/email-etiquette.pod Index: email-etiquette.pod === RCS file: /home/cvs/modperl-site/email-etiquette.pod,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- email-etiquette.pod 2001/10/21 06:50:06 1.1 +++ email-etiquette.pod 2001/12/21 07:42:55 1.2 @@ -377,7 +377,7 @@ The sources are available from CPAN and other mirrors: -http://www.perl.com/CPAN-local/authors/id/S/ST/STAS/ +http://www.cpan.org/authors/id/S/ST/STAS/ =head2 Corrections And Contributions
cvs commit: modperl-site/guide index_long.html
stas01/12/20 23:39:49 Modified:guideindex_long.html Log: s|www.perl.com/CPAN-local|www.cpan.org|g as the later doesn't feature multiplexing Revision ChangesPath 1.10 +1 -1 modperl-site/guide/index_long.html Index: index_long.html === RCS file: /home/cvs/modperl-site/guide/index_long.html,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- index_long.html 2001/11/15 09:04:50 1.9 +++ index_long.html 2001/12/21 07:39:48 1.10 @@ -1388,7 +1388,7 @@ This release's HTML files, POD sources and build script are available from http://www.perl.com/CPAN-local/authors/id/S/ST/STAS/";> + href="http://www.cpan.org/authors/id/S/ST/STAS/";> my directory at CPAN or its mirrors or http://search.cpan.org/search?mode=module&query=mod_perl_guide";>search.cpan.org.
cvs commit: modperl-site/guide index.html
stas01/12/20 23:39:26 Modified:guideindex.html Log: s|www.perl.com/CPAN-local|www.cpan.org|g as the later doesn't feature multiplexing Revision ChangesPath 1.36 +1 -1 modperl-site/guide/index.html Index: index.html === RCS file: /home/cvs/modperl-site/guide/index.html,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- index.html2001/11/15 09:04:50 1.35 +++ index.html2001/12/21 07:39:26 1.36 @@ -203,7 +203,7 @@ This release's HTML files, POD sources and build script are available from http://www.perl.com/CPAN-local/authors/id/S/ST/STAS/";> + href="http://www.cpan.org/authors/id/S/ST/STAS/";> my directory at CPAN or its mirrors or http://search.cpan.org/search?mode=module&query=mod_perl_guide";>search.cpan.org.
cvs commit: modperl-2.0/xs/maps modperl_functions.map
dougm 01/12/20 10:12:16 Modified:t/response/TestModperl print.pm todo api.txt xs/Apache/RequestIO Apache__RequestIO.h xs/maps modperl_functions.map Log: add Apache::RequestRec::BINMODE method Revision ChangesPath 1.2 +2 -0 modperl-2.0/t/response/TestModperl/print.pm Index: print.pm === RCS file: /home/cvs/modperl-2.0/t/response/TestModperl/print.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- print.pm 2001/11/06 18:50:25 1.1 +++ print.pm 2001/12/20 18:12:15 1.2 @@ -10,6 +10,8 @@ plan $r, tests => 3; +binmode STDOUT; #Apache::RequestRec::BINMODE (noop) + ok 1; ok 2; 1.18 +1 -1 modperl-2.0/todo/api.txt Index: api.txt === RCS file: /home/cvs/modperl-2.0/todo/api.txt,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- api.txt 2001/12/14 04:52:45 1.17 +++ api.txt 2001/12/20 18:12:15 1.18 @@ -3,7 +3,7 @@ -- tied filehandle interface: - -CLOSE, OPEN, BINMODE, EOF, TELL, SEEK, FILENO + -CLOSE, OPEN, EOF, TELL, SEEK, FILENO -READLINE - proper implementation (see comment in Apache::compat) $r->finfo: 1.23 +2 -0 modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h Index: Apache__RequestIO.h === RCS file: /home/cvs/modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- Apache__RequestIO.h 2001/11/07 04:03:07 1.22 +++ Apache__RequestIO.h 2001/12/20 18:12:15 1.23 @@ -3,6 +3,8 @@ #define mpxs_Apache__RequestRec_PRINT mpxs_Apache__RequestRec_print #define mpxs_Apache__RequestRec_PRINTF mpxs_ap_rprintf +#define mpxs_Apache__RequestRec_BINMODE(r) \ +r ? &PL_sv_yes : &PL_sv_no /* noop */ #define mpxs_output_flush(r, rcfg) \ /* if ($|) */ \ 1.31 +1 -0 modperl-2.0/xs/maps/modperl_functions.map Index: modperl_functions.map === RCS file: /home/cvs/modperl-2.0/xs/maps/modperl_functions.map,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- modperl_functions.map 2001/12/17 16:22:07 1.30 +++ modperl_functions.map 2001/12/20 18:12:16 1.31 @@ -29,6 +29,7 @@ SV *:DEFINE_TIEHANDLE| | SV *:stashsv, SV *:sv=Nullsv apr_size_t:DEFINE_PRINT | | ... apr_size_t:DEFINE_PRINTF | | ... + SV *:DEFINE_BINMODE | | request_rec *:r mpxs_Apache__RequestRec_sendfile | | r, filename=r->filename, offset=0, len=0 mpxs_Apache__RequestRec_read | | r, buffer, bufsiz, offset=0 long:DEFINE_READ | | request_rec *:r, SV *:buffer, int:bufsiz, int:offset=0