Configuration problem -- HTML embeded cgi script calls not working [using default MDK/Linux 8.1 (Apache 1.3)]

2002-02-18 Thread Ivica Bukvic
Hi all, I am a self-taught Linux admin, working hard on patching my knowledge potholes. One of them is Apache/cgi/perl configuration. I am using Mandrake 8.1 on an Intel machine, that comes pre-installed with Apache 1.3. Default configuration file (/etc/httpd/conf/commonhttpd.conf) looks as

Re: Configuration problem -- HTML embeded cgi script calls not working [using default MDK/Linux 8.1 (Apache 1.3)]

2002-02-18 Thread Ryan Parr
http://httpd.apache.org/docs/howto/ssi.html#configuringyourservertopermitssi for more information than I'm writing out... You need to have (somewhere in the main configuration section) the following: # # To use server-parsed HTML files # AddType text/html .shtml AddHandler

Was: [Samba authorization]

2002-02-18 Thread Andrew Afliatunov
Hi everybody! Please, let's continue discussing my problem. Remind you, that I installed mod_perl, Authen-Smb-0.91 and Apache-AuthenSmb-0.60 for authorization in apache against NT server. And I get this error in apache error.log file: Undefined subroutine Apache::AuthenSmb::handler called. In

Re: Configuration problem -- HTML embeded cgi script calls not working [using default MDK/Linux 8.1 (Apache 1.3)]

2002-02-18 Thread Ryan Parr
Oh yeah: To make your scripts output more sensible information to the screen/error logs you can put the following use statement at the top of the CGI: #!perl -w use strict; use CGI::Carp qw(fatalsToBrowser); CGI::Carp will make sure that actual Perl errors go to your browser and error log.

PerlPassEnv and Proxies

2002-02-18 Thread Andrew Green
Hi all, I'm using a typical dual-server combination for mod_perl content on a selection of sites. Requests go to the vanilla Apache and a mod_rewrite/mod_proxy combo forward them on to the mod_perl Apache. As part of this, I'm trying to allow a prefix to the URL path to set an environment

cleanest way to have globals in a CGI

2002-02-18 Thread F . Xavier Noria
Hello, I am the author of a CGI written in Perl (a single file) which is publicly available. Currently there are some file-scoped lexicals used in routines and I would like to change that in the next release in case anyone wanted to run it under Apache::Registry. Since there would be just one

Re: PerlPassEnv and Proxies

2002-02-18 Thread Igor Sysoev
On Mon, 18 Feb 2002, Andrew Green wrote: I'm using a typical dual-server combination for mod_perl content on a selection of sites. Requests go to the vanilla Apache and a mod_rewrite/mod_proxy combo forward them on to the mod_perl Apache. As part of this, I'm trying to allow a prefix to

Frontier::Responder question

2002-02-18 Thread Robert Landrum
I recently picked up Programming web services with XML-RPC. It mentions a module that I have yet to track down. I am unable to find Frontier::Responder. O'Reilly's site mentions that Joe Johnston wrote. Joe makes it pretty clear that he want's you to use it in place of Frontier::Daemon

Re: Frontier::Responder question

2002-02-18 Thread Paul Lindner
On Mon, Feb 18, 2002 at 10:25:59AM -0500, Robert Landrum wrote: I recently picked up Programming web services with XML-RPC. It mentions a module that I have yet to track down. I am unable to find Frontier::Responder. O'Reilly's site mentions that Joe Johnston wrote. Joe makes it pretty

Re: PerlPassEnv and Proxies

2002-02-18 Thread Hans Juergen von Lengerke
Andrew Green [EMAIL PROTECTED] on Feb 18, 2002: As part of this, I'm trying to allow a prefix to the URL path to set an environment variable I can then use in my mod_perl programs to determine databases, templates etc. The vanilla httpd.conf features a line thus: RewriteRule

Re: Configuration problem -- HTML embeded cgi script calls notworking [using default MDK/Linux 8.1 (Apache 1.3)]

2002-02-18 Thread Ivica Bukvic
Thank you very much for your help! Changing the file to .shtml did the trick! Once more thank your for your generous assistance! Sincerely, Ico

RE: cleanest way to have globals in a CGI

2002-02-18 Thread Burak Gürsoy
use them in a package and call like: $MyPackage::var1 or use object orientation... or just use the vars pragma... -Original Message- From: F. Xavier Noria [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 4:04 PM To: [EMAIL PROTECTED] Subject: cleanest way to have globals in a

mod perl cookbook, the kudos continue...

2002-02-18 Thread clayton cottingham
just got my copy on friday, havent been doing much but learning the errors of my ways!! thanks for all the hard work guys this will be a book that will be useful for me for quite a while

Image Magick Alternatives?

2002-02-18 Thread Jonathan M. Hollin
The WYPUG migration from Win2K to Linux is progressing very nicely. However, despite my best efforts, I can't get Perl Magick to work (Image::Magick compiled successfully and without problems). All I use Perl Magick for is generating thumbnails (which seems like a waste anyway). So, is there an

Re: Image Magick Alternatives?

2002-02-18 Thread Alastair Sherringham
On Mon, Feb 18, 2002 at 09:26:57PM -, Jonathan M. Hollin wrote: The WYPUG migration from Win2K to Linux is progressing very nicely. However, despite my best efforts, I can't get Perl Magick to work (Image::Magick compiled successfully and without problems). All I use Perl Magick for is

Re: Image Magick Alternatives?

2002-02-18 Thread Perrin Harkins
So, is there an alternative - a module that will take an image (gif/jpeg) and generate a thumbnail from it? The GD module seems like a good candidate. There's also the Gimp modules. - Perrin

Re: Image Magick Alternatives?

2002-02-18 Thread Issac Goldstand
Ooh!!! Ooh!!! *jumps to publicize his module in a desperate attempt to find someone who might actually NEED it* [So I'm shameless... So what? :-)] Apache::GD::Thumbnail - CPAN friendly. It needs, however, GD, which means that instead of using Perl Magick for the sole use of generating

Storable segfaulting

2002-02-18 Thread raptor
hi, I have object that inherit Storable... so I store the object.. later when I try to retrieve the object I get : Segmentation fault (11) Mandrake 8.1, Storable 1.012 Can u help me . raptor [EMAIL PROTECTED]

Re: Storable segfaulting

2002-02-18 Thread Jay Thorne
On February 18, 2002 02:56 am, raptor wrote: hi, I have object that inherit Storable... so I store the object.. later when I try to retrieve the object I get : Segmentation fault (11) Mandrake 8.1, Storable 1.012 Have you tried testing the machine's ram with memtest86? you might actually

mod_perl cookbook ... next steps

2002-02-18 Thread c . hauser
Yep! Thanks for the book, it just arrived Friday. So now I'm sitting on something what I wanted to do since a long time: Splitting all my logic in the PerlHandler into PerlInitHandler, PerlTransHandler, PerlAuthzHandler, PerlHandler and PerlCleanupHandler. I would catch user sessions in

Re: mod_perl cookbook ... next steps

2002-02-18 Thread Issac Goldstand
[EMAIL PROTECTED] wrote: [snip] As I need information between the stage of life, I would use $r-notes to communicate down the cycle. But then again, if I have some data tied to the session (I use Apache::Session), how can I give it to the PerlHandler. Is $r-notes proofed for any export, object

Re: mod_perl cookbook ... next steps

2002-02-18 Thread Paul Lindner
On Thu, Feb 21, 2002 at 01:17:02AM +0200, Issac Goldstand wrote: [EMAIL PROTECTED] wrote: [snip] As I need information between the stage of life, I would use $r-notes to communicate down the cycle. But then again, if I have some data tied to the session (I use Apache::Session), how can I

Re: Image Magick Alternatives?

2002-02-18 Thread Mark Fowler
On Thu, 21 Feb 2002, Issac Goldstand wrote: Apache::GD::Thumbnail - CPAN friendly. It needs, however, GD, which means that instead of using Perl Magick for the sole use of generating thumbnails, you'll be using GD for the sole purpose of generating thumbnails... Also, it only has jpeg

mod_perl cookbook ... Where?

2002-02-18 Thread IEEE Consulting
Where's the mod_perl Cookbook? RB

Re: mod_perl cookbook ... Where?

2002-02-18 Thread Stephen Clouse
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Feb 18, 2002 at 06:31:15PM -0500, IEEE Consulting wrote: Where's the mod_perl Cookbook? Grep your favorite bookstore for ISBN# 0672322404. - -- Stephen Clouse [EMAIL PROTECTED] Senior Programmer, IQ Coordinator Project Lead The IQ Group,

Re: mod_perl cookbook ... next steps

2002-02-18 Thread Todd Finney
At 06:04 PM 2/18/02, [EMAIL PROTECTED] wrote: I would catch user sessions in PerlInitHandler/PerlTransHandler, store/check them in PerlAuthzHandler, where I would also set the cookie, and close or refresh them in PerlCleanupHandler. We do something similar, but we've segmented the process a

Re: mod_perl cookbook ... Where?

2002-02-18 Thread Geoffrey Young
IEEE Consulting wrote: Where's the mod_perl Cookbook? you can find all types of information about the cookbook at http://www.modperlcookbook.org/ including places to purchase it and the source code from the entire book. enjoy! --Geoff

Re: cleanest way to have globals in a CGI

2002-02-18 Thread F . Xavier Noria
On Mon, 18 Feb 2002 15:04:16 +0100 Me myself [EMAIL PROTECTED] wrote: : Since there would be just one Perl interpreter I guess plain use vars : would add symbols to a in principle shared by more code main namespace, : do you know whether there is a standard, clean solution for this? I somehow

Session refresh philosophy

2002-02-18 Thread Milo Hyson
Like my previous question on object caching, this one is potentially a matter of style as well. When it comes to implementing expirations on session data, I've encountered two schools of thought on when is best to refresh the timestamp/expiration. In that the general idea of expiration is to

Re: Image Magick Alternatives?

2002-02-18 Thread Thomas Eibner
On Mon, Feb 18, 2002 at 09:26:57PM -, Jonathan M. Hollin wrote: The WYPUG migration from Win2K to Linux is progressing very nicely. However, despite my best efforts, I can't get Perl Magick to work (Image::Magick compiled successfully and without problems). All I use Perl Magick for is

Re: Session refresh philosophy

2002-02-18 Thread Rob Nagler
Milo Hyson writes: 1) A fix-up handler is called to extract the session ID from a cookie. [snip] 1a) If for some reason no session was found (e.g. no cookie) a new one is [snip] 2) During content-generation, the application obtains the session reference [snip] 3) A clean-up handler is

Re: Image Magick Alternatives?

2002-02-18 Thread Ed
On Mon, Feb 18, 2002 at 09:26:57PM -, Jonathan M. Hollin wrote: The WYPUG migration from Win2K to Linux is progressing very nicely. However, despite my best efforts, I can't get Perl Magick to work (Image::Magick compiled successfully and without problems). All I use Perl Magick for is

PERL/SQL job listing:

2002-02-18 Thread Greg Balfanz
We have a ground floor opening for a perl programmer for a TELECOMMUTING situation for web/wireless/telecom system development. Requirements: Strong Perl 5 experience SQL database knowledge Experience: CGI is a big plus Unix/Linux is a plus mod_perl apache servers are a plus DBI database

Re: Session refresh philosophy

2002-02-18 Thread Milo Hyson
On Monday 18 February 2002 07:29 pm, Rob Nagler wrote: I may be asking the wrong question: is there a need for sessions? This seems like a lot of work when, for most applications, sessions are unnecessary. I don't see how they could be unnecessary for what we're doing. Then again, maybe I'm

Streaming compression of output from mod_perl handler?

2002-02-18 Thread Nicholas Oxhøj
Hi I am looking for an Apache module which will allow me to compress the output of my mod_perl handler (a native handler, i.e. not running under Apache::Registry). But since my handler can potentially take a long time to finish, the output has to be compressed in a streaming fashion (or in