Re: ProxyPass not getting type of dynamic images?

2003-07-11 Thread HLiu

It is tricky. Try this:



   my $format = $graph-export_format;

   $r-content_type(image/$format);

binmode STDOUT;
print STDOUT $graph-plot([EMAIL PROTECTED])-$format();
return Apache::OK;

It works for me.

Willy



   
 
  Kirk Bowe
 
  [EMAIL PROTECTED]To:   [EMAIL PROTECTED]

  infocc: 
 
   Subject:  ProxyPass not getting type of 
dynamic images?  
  07/07/2003 11:55 
 
  AM   
 
   
 
   
 






Hi, I'm doing a naive one size fits all ProxyPass thing wherein I've got
one server simply sitting between the end users and the real machine.  So
my only lines are:

ProxyPass / http://other.server.with.specified.port.com:8082/
ProxyPassReverse / http://other.server.with.specified.port.com:8082/
ProxyReceiveBufferSize 16384

Most of it works fine but I appear to be losing content types.  The
backend server generates pretty much everything in mod_perl and Template
Toolkit.  However I generate PNGs on the fly too, with and without a .png
extension in some cases.  In particular, the PNGs aren't getting through
with a mime type.  Guess I need to set it somewhere -- any ideas?  It all
works fine without the proxy in the middle.

Cheers


Kirk.







What's wrong on the line 149 of registery.pm from Apache 1.3.26

2002-10-30 Thread HLiu
Hi there,

There is an error in the error.log that appears  the line 149 of
registery.pm from Apache 1.3.26 when I am running a CGI. Is it a bug for
this type of error to appear so often?


Thanks,

Willy




Re: What's wrong on the line 149 of registery.pm from Apache 1.3.26

2002-10-30 Thread HLiu

Richard,

Thanks for your comment.

The error appears frequently, i.g. sometime works sometime not. Here is
error message:


Apache::ROOTapmoneywire_2emm_2eap_2eorg::qq::quickquote_2ecgi::handler
('Apache=SCALAR(0x3715f4)') called at
/opt/apache/lib/site_perl/5.6.0/sun4-solaris/Apache/Registry.pm line 149
  require 0 called at
/opt/apache/lib/site_perl/5.6.0/sun4-solaris/Apache/Registry.pm line 149


Willy



   

  Richard Clarke   

  [EMAIL PROTECTED]To:   [EMAIL PROTECTED]   

  cc: 

   Subject:  Re: What's wrong on the line 
149 of registery.pm from Apache 1.3.26   
  10/30/2002 02:00 

  PM   

   

   





Willy,

[EMAIL PROTECTED] wrote:

Hi there,

There is an error in the error.log that appears  the line 149 of
registery.pm from Apache 1.3.26 when I am running a CGI. Is it a bug for
this type of error to appear so often?


It might be more useful to paste this error to the list.


Thanks,

Willy





Ric.








Re: [OTish] Version Control?

2002-10-30 Thread HLiu

Richard,

What's your operation system? Solaris or Linux?
I use Solaris with CVS as the version control. It is very useful tool. You
can also consider to use Solaris Package that is for installation and also
the version control as well.

Willy



   

  Richard Clarke   

  [EMAIL PROTECTED]To:   [EMAIL PROTECTED]   

  cc: 

   Subject:  [OTish] Version Control?  

  10/30/2002 04:09 

  PM   

   

   





Does anyone in the list use any kind of version control (e.g. CVS) for
the perl/template codebase of their website?
Now that my code base is growing I feel the increasing need to provide
better version/backup control than my current hourly crontab tar.
I don't however feel that the organizational logic of a websites code
base fits well into the CVS paradigm. Am I being to short sighted in
this assumption?
Does anyone have any recommended method? I don't use version numbers at
all? Does anyone?

Richard.