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
fol
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 se
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
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. Al
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 varia
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 Pe
Also, the XbitHack still works, although it is officially depercated.
Haven't used it in a while though, so I can't give you details on
exactly how to turn it on. Anyone else on the list remember how?
Essentially, instead of having to re-name to .shtml, you just make it
chmod a+x. The exec flag
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
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 whe
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 pre
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 ^/
In article <[EMAIL PROTECTED]>,
Hans Juergen von Lengerke <[EMAIL PROTECTED]> wrote:
> I agree, its a big hack, but it works :-)
Thanks to both of you for pointing me in the right direction. I guess
it's obvious, really, that environment variables don't get passed along
proxies. Blast. =o)
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
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 CG
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
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
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 i
> 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
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
thumbn
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]
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 migh
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 PerlInit
[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, obj
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), ho
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 jpe
Where's the mod_perl Cookbook?
RB
-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
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 li
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
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 someho
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 di
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 i
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 c
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 i
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
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'
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
37 matches
Mail list logo