You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Geoffrey Young <ge...@modperlcookbook.org> on 2004/01/26 14:41:46 UTC

we now have unescaped error_log

hi all

late last week, the ability to have an unescaped error_log was ported from
2.1 to 2.0 and 1.3.

for 2.1 and 2.0, I now build apache with

  $ CFLAGS="-DAP_UNSAFE_ERROR_LOG_UNESCAPED" ./configure --with-mpm=worker ...

for 1.3, I just add

  PERL_EXTRA_CFLAGS=-DAP_UNSAFE_ERROR_LOG_UNESCAPED

to my makepl_args.mod_perl.

keep in mind important security protections are being undermined when you do
this, so undoing the apache default is not to be taken lightly.  but for
mod_perl development, it's quite convenient.

anyway, just passing the info along.

--Geoff


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: we now have unescaped error_log

Posted by Stas Bekman <st...@stason.org>.
Stas Bekman wrote:
> Geoffrey Young wrote:
> 
>> hi all
>>
>> late last week, the ability to have an unescaped error_log was ported 
>> from
>> 2.1 to 2.0 and 1.3.
>>
>> for 2.1 and 2.0, I now build apache with
>>
>>   $ CFLAGS="-DAP_UNSAFE_ERROR_LOG_UNESCAPED" ./configure 
>> --with-mpm=worker ...
>>
>> for 1.3, I just add
>>
>>   PERL_EXTRA_CFLAGS=-DAP_UNSAFE_ERROR_LOG_UNESCAPED
>>
>> to my makepl_args.mod_perl.
>>
>> keep in mind important security protections are being undermined when 
>> you do
>> this, so undoing the apache default is not to be taken lightly.  but for
>> mod_perl development, it's quite convenient.
>>
>> anyway, just passing the info along.
> 
> 
> That's great, Geoff! Thanks.
> 
> We need to document that. I suppose the install docs in 1.0 and 2.0 and 
> may be a xref from coding/debug?

Now documented.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: we now have unescaped error_log

Posted by Stas Bekman <st...@stason.org>.
Geoffrey Young wrote:
> hi all
> 
> late last week, the ability to have an unescaped error_log was ported from
> 2.1 to 2.0 and 1.3.
> 
> for 2.1 and 2.0, I now build apache with
> 
>   $ CFLAGS="-DAP_UNSAFE_ERROR_LOG_UNESCAPED" ./configure --with-mpm=worker ...
> 
> for 1.3, I just add
> 
>   PERL_EXTRA_CFLAGS=-DAP_UNSAFE_ERROR_LOG_UNESCAPED
> 
> to my makepl_args.mod_perl.
> 
> keep in mind important security protections are being undermined when you do
> this, so undoing the apache default is not to be taken lightly.  but for
> mod_perl development, it's quite convenient.
> 
> anyway, just passing the info along.

That's great, Geoff! Thanks.

We need to document that. I suppose the install docs in 1.0 and 2.0 and may be 
a xref from coding/debug?

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org