stas 2004/03/03 16:41:10 Modified: src/docs/1.0/guide install.pod src/docs/2.0/user/install install.pod Log: Log the availability of -DAP_UNSAFE_ERROR_LOG_UNESCAPED for Apache build to prevent error_log escaping Revision Changes Path 1.24 +19 -0 modperl-docs/src/docs/1.0/guide/install.pod Index: install.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/1.0/guide/install.pod,v retrieving revision 1.23 retrieving revision 1.24 diff -u -u -r1.23 -r1.24 --- install.pod 23 Jan 2004 21:10:52 -0000 1.23 +++ install.pod 4 Mar 2004 00:41:10 -0000 1.24 @@ -2996,6 +2996,25 @@ make sure to use both the same compiler and the same options used to build Perl. + +=head2 Unescaping F<error_log> + +Starting from 1.3.30, the Apache logging API escapes everything that +goes to F<error_log>, therefore if you're annoyed by this feature +during the development phase (as your error messages will be all +messed up) you can disable the escaping during the Apache build time: + + % CFLAGS="-DAP_UNSAFE_ERROR_LOG_UNESCAPED" ./configure ... + +Or if you build a static perl + + % perl Makefile.PL ... PERL_EXTRA_CFLAGS=-DAP_UNSAFE_ERROR_LOG_UNESCAPED + +Do B<not> use that CFLAGS in production unless you know what you are +doing. + + + =head1 OS Related Notes =over 3 1.53 +17 -4 modperl-docs/src/docs/2.0/user/install/install.pod Index: install.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/install/install.pod,v retrieving revision 1.52 retrieving revision 1.53 diff -u -u -r1.52 -r1.53 --- install.pod 3 Mar 2004 23:33:53 -0000 1.52 +++ install.pod 4 Mar 2004 00:41:10 -0000 1.53 @@ -192,9 +192,9 @@ If you don't have the prerequisites installed yet, install them now. -=over -=item Perl + +=head3 Perl % cd perl-5.8.x % ./Configure -des @@ -214,13 +214,26 @@ % make && make test && make install -=item Apache + + +=head3 Apache % cd httpd-2.x.xx % ./configure --prefix=$HOME/httpd/prefork --with-mpm=prefork % make && make install -=back +Starting from 2.0.49, the Apache logging API escapes everything that +goes to F<error_log>, therefore if you're annoyed by this feature +during the development phase (as your error messages will be all +messed up) you can disable the escaping during the Apache build time: + + % CFLAGS="-DAP_UNSAFE_ERROR_LOG_UNESCAPED" ./configure ... + +Do B<not> use that CFLAGS in production unless you know what you are +doing. + + + =head1 Installing mod_perl from Binary Packages
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]