Apache::DBI seg fault

2002-11-20 Thread Beau E. Cox
Hi - I am using Apache::DBI on my test server - all OK. When I try to use it on my production server, I get the following-> stdout: Shutting down httpd..done Starting httpd [ PERL ] Syntax OK stderr: /etc/init.d/apache: line 206: 18040 Segmentation fault $HTTPD_BIN $INET6 -t -f /etc/http

problems with characters being added to a request.

2002-11-20 Thread Brian Hirt
I'm running into a problem with some characters being added during a mod_perl request. An  charater is getting added when i print the document STDOUT. When i print that exact same variable to STDERR the  is not added. Here are two hex dumps (via od -hc). The first is what is sent to the web

Accessing configuration information

2002-11-20 Thread Grant McLean
Hi All I know I can use $r->dir_config() to access parameter values set in the config file with PerlSetVar, but is it possible to access the value of generic Apache configuration directives? I have a module that takes a request and maps it to both a Perl class and a template for displaying the c

Re: References for modperl usage in financial institutions?

2002-11-20 Thread Stas Bekman
Marcin Kasperski wrote: Thanks for all the people who sent me the references (both here and to private email). Maybe it would be good idea to add some such references to the 'sites running modperl' page. My business client after taking a look at http://perl.apache.org/outstanding/sites.html said

Re: am i heading for disaster... ?

2002-11-20 Thread Stas Bekman
Noam Solomon wrote: In the process of building apache_1.3.27 / mod_perl 1.3.27 / openssl0.9.6g / mod_ssl mod_ssl-2.8.12-1.3.27 on a Solaris OS 2 UltraSparc, with Perl 5.8, the apache make failed because of an undefined "url_delims". I was using the method where you build mod_ssl, then build m

Re: How do I force a 'Save Window?'

2002-11-20 Thread siberian
I guess its a your mileage may vary sort of thing. The marketing folks here use XP and whatever IE comes with it. I send $r->content_type( 'application/vnd.ms-excel' ) ; $r->header_out('Content-Disposition' => 'attachment; filename=report.xls' ) ; #$r->content_type( 'applicatio

Re: How do I force a 'Save Window?'

2002-11-20 Thread Marcin Kasperski
> Bonus Points : Use > Content-Disposition: attachment;filename=blabla > > and pre-set the name of the file on disk. I tried it hard (in my case I generate PDF files. No way. Internet Explorer ignored it. Finally I decided to perform redirect to URL ending with /blabla.pdf - then it worked more-o

Re: References for modperl usage in financial institutions?

2002-11-20 Thread Marcin Kasperski
Thanks for all the people who sent me the references (both here and to private email). Maybe it would be good idea to add some such references to the 'sites running modperl' page. My business client after taking a look at http://perl.apache.org/outstanding/sites.html said 'nice, but there are most

mod_Perl script and SSI need advice

2002-11-20 Thread Coexec
Hi all, I have a question about how to pass form data with mod_perl and SSI. I have an HTML page with a mod_perl script included. The script creates a form and takes its input and then prints output based on the input (pretty basic). I have the form action set to the script (action="/perl/test.c

RE: Newbie: how to use PerlSetVar

2002-11-20 Thread Beau E. Cox
Hi - and thank you - I am RTFM, but when you get into something new (and vast) it takes a while for the _gestalt_ to happen. You have given me the kick start I needed. I'll be silent for a time coding away ;) Aloha => Beau. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTE

Re: Newbie: how to use PerlSetVar

2002-11-20 Thread Perrin Harkins
[EMAIL PROTECTED] wrote: >What about namespaces, i.e. how >do I avoid stepping on someone else's variable? Prepend some custom string in front of the VarName: PerlSetVar MyApp_Var1 value1 PerlSetVar MyApp_Var2 value2 Also, note that these are scoped within the block where they are defin

Re: How do I force a 'Save Window?'

2002-11-20 Thread Marc Slagle
This works for me:   I'm using pdf stuff here, but you can set the content type to whatever you want. $r->content_type('application/pdf');$r->header_out("Content-Disposition" => "attachment; filename=order.pdf");$r->send_http_header(); Marc Slagle   - Original Message - From: "Denni

Re: How do I force a 'Save Window?'

2002-11-20 Thread Francisco Corella
I clicked on the links I sent in my previous message and noticed that one of them didn't work because my mail program had split the url into two pieces at a line boundary. You may have to cut and paste the two pieces into your browser's URL box. You can also look for the documents by their titles

Re: How do I force a 'Save Window?'

2002-11-20 Thread Francisco Corella
Dennis, Microsoft has documentation on how IE handles MIME types, content-disposition headers, etc. It may be out of date, and not accurate, but it's certainly worth reading. Have a look at: http://msdn.microsoft.com/workshop/networking/moniker/overview/appendix_a.as p There is also a support

[DIGEST] mod_perl digest 2002/11/04

2002-11-20 Thread jgsmith
-- mod_perl digest November 4, 2002 - November 17, 2002 -- Recent happenings in the mod_perl world... Features o

[JOB-SEEKER] mod_perl consultant; can travel to you

2002-11-20 Thread David Harris
Hello, I'm looking for consulting software development work in the Perl/mod_perl/DBI/Oracle/MySQL/Linux/Web area. Anything Open Source is a plus! I'm based in Maryland Baltimore/D.C. area. I'm flexible and willing to travel to your location for a period of time, if needed. More info about me her

Re: How do I force a 'Save Window?'

2002-11-20 Thread Dennis Daupert
Thanks all for the great suggestions. This group is wonderfully helpful. I tried the quick route, setting MIME type to "application/octet-stream," and that works fine for xl spreadsheets, but I still get the same behavior as before with MS Project files (browser IE 5.00.3105.0106, which is one of

Re: Newbie: how to use PerlSetVar

2002-11-20 Thread domm
Hi! On Mit, Nov 20, 2002 at 12:48:34 -1000, Beau E. Cox wrote: > May I use PerlSetVar/PerlAddVar statements in the httpd.conf > file for my own use? Yes. Thats what they are here for. > What about namespaces, i.e. how > do I avoid stepping on someone else's variable? Prepend some custom string

Re: Problems with Apache::Gallery

2002-11-20 Thread domm
Hi! On Mit, Nov 20, 2002 at 10:02:06 +0100, Juan Julian Merelo Guervos wrote: > Hi, > I'm having problems with apache::gallery, mod_perl 1.99 and apache 2.0 > (and who hasn't?, you might ask). I'm not sure if Apache::Gallery works with mod_perl 2.x (and mod_perl 1.99 is the development vers

Re: How do I force a 'Save Window?'

2002-11-20 Thread Issac Goldstand
Becuase some browsers and mail clients don't follow the RFC. The RFC clearly states that "When a mail reader encounters mail with an unknown Content-type value, it should generally treat it as equivalent to 'application/octet-stream'" (SECTION 4 last paragraph - page 12) So my suggestion should a

Newbie: how to use PerlSetVar

2002-11-20 Thread Beau E. Cox
Hi - I'm new to mod_perl, so here's my query: May I use PerlSetVar/PerlAddVar statements in the httpd.conf file for my own use? What about namespaces, i.e. how do I avoid stepping on someone else's variable? Assume I can. How can I access those variables from my mod_perl scripts? How can I set

Problem with Stream-oriented Output Filter

2002-11-20 Thread Esteban Fernandez Stafford
Hello, I am currently developing a modperl filter that uses the streaming approach. I started off with the example in http://perl.apache.org/docs/2.0/user/handlers/filters.html#Stream_oriented_Output_Filter sub handler { my $filter = shift; my $left_over = ''; while ($filt

Re: How do I force a 'Save Window?'

2002-11-20 Thread Tom Hukins
On Wed, Nov 20, 2002 at 11:24:33AM +0200, Issac Goldstand wrote: > To force the save window is easy - make up your own content subtype (main > type application) and set it: > > Content-Type: application/x-download-this-file-you-stupid-browser > > Remember to start with an "x-" as your type is ob

Re: Problems with Apache::Gallery

2002-11-20 Thread Esteban Fernandez Stafford
This is what I have... Your installation is not looking good. $ ls -F /usr/lib/perl5/site_perl/5.6.1/i586-linux/Apache2/ APR/ APR.pm Apache/ ModPerl/ auto/ mod_perl.pm typemap E s t eb a n! :wq On 20 Nov 2002, Juan Julian Merel

Re: Problems with Apache::Gallery

2002-11-20 Thread Juan Julian Merelo Guervos
El mié, 20-11-2002 a las 10:40, Esteban Fernandez Stafford escribió: > Look for a Apache2 folder in your perl folder. > > find /usr/lib/perl -name Apache2 It's at: /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apache2 but there's only a typemap file in it. Should there be something el

Re: Problems with Apache::Gallery

2002-11-20 Thread Esteban Fernandez Stafford
Look for a Apache2 folder in your perl folder. find /usr/lib/perl -name Apache2 If you dont find it, modperl is not properly installed. E s t eb a n! :wq On 20 Nov 2002, Juan Julian Merelo Guervos wrote: > El mié, 20-11-2002 a la

Re: Problems with Apache::Gallery

2002-11-20 Thread Esteban Fernandez Stafford
No, find the location of your apache modules. For a hint type rpm -ql perl E s t eb a n! :wq On 20 Nov 2002, Juan Julian Merelo Guervos wrote: > Hi, > > > > # For the Apache::* modules > > use lib qw(/usr/lib/perl5/site_perl/5.6.1

Re: Problems with Apache::Gallery

2002-11-20 Thread Juan Julian Merelo Guervos
El mié, 20-11-2002 a las 10:25, Esteban Fernandez Stafford escribió: > Hi Juan, > > I had a similar problem. To solve it I added these lines to startup.pl > I guess you will have to change the paths to your own settings. > > > # For the Apache::* modules > use lib qw(/usr/lib/perl5/site_perl/5.6

Re: Problems with Apache::Gallery

2002-11-20 Thread Juan Julian Merelo Guervos
Hi, > # For the Apache::* modules > use lib qw(/usr/lib/perl5/site_perl/5.6.1/i586-linux/Apache2); > Does that mean I have to downgrade to 5.6.1? J -- Juan Julian Merelo Guervos <[EMAIL PROTECTED]> GeNeura team

Re: Problems with Apache::Gallery

2002-11-20 Thread Esteban Fernandez Stafford
Hi Juan, I had a similar problem. To solve it I added these lines to startup.pl I guess you will have to change the paths to your own settings. # For the Apache::* modules use lib qw(/usr/lib/perl5/site_perl/5.6.1/i586-linux/Apache2); # For my own use lib qw(/home/esteban/apache_mod_perl/perl);

Re: How do I force a 'Save Window?'

2002-11-20 Thread Issac Goldstand
To force the save window is easy - make up your own content subtype (main type application) and set it: Content-Type: application/x-download-this-file-you-stupid-browser Remember to start with an "x-" as your type is obviously not registered with the IANA. The tricky part is setting up the defa

Problems with Apache::Gallery

2002-11-20 Thread Juan Julian Merelo Guervos
Hi, I'm having problems with apache::gallery, mod_perl 1.99 and apache 2.0 (and who hasn't?, you might ask). This is the setup I'm using in perl.conf PerlSetVar GalleryTemplateDir /home/jmerelo/public_html/gallery/templates PerlSetVar GalleryAllowOriginal 1 SetHandlerperl-

Re: References for modperl usage in financial institutions?

2002-11-20 Thread Panagiotis Louridas
I am working in a greek investment bank called, appropriately, Investment Bank. It is one of the largest investment banks, and one of the biggest financial institutions in Greece. We are currently implementing the company's internet presence in mod_perl. There is an existing web site that was o