* Perrin Harkins [EMAIL PROTECTED] [2002-12-30 19:07]:
Explanations and other suggested approaches to handling this problem
will be most welcome.
My suggestion in the past has been to PerlRequire a startup.pl that
does a use on your modules, instead of pulling them in with
PerlModule.
I
* [EMAIL PROTECTED] [EMAIL PROTECTED] [2002-12-23 14:31]:
I am in the beginning stages to get mod_perl in my head. This is my second
script after the Hello There script. I am trying ot get my little stupid
script to work. What I am trying ot do is fairly simple; I thought. I am
just trying
* Geoffrey Young [EMAIL PROTECTED] [2002-11-11 13:16]:
(oh, maybe someone could consider also adding some test case to
t/net/perl/util.pl but it does not seem to be very important)
tests are always important :)
I'm think that, with mod_perl 2.0, mod_perl 1.x might not be high on
* Marcin Kasperski [EMAIL PROTECTED] [2002-11-08 17:33]:
darren chamberlain [EMAIL PROTECTED] writes:
* Marcin Kasperski [EMAIL PROTECTED] [2002-11-08 16:22]:
I use Apache::Util::escape_html to perform fast HTML-escaping of the
data before displaying it. Unfortunately, this function
* Marcin Kasperski [EMAIL PROTECTED] [2002-11-08 16:22]:
I use Apache::Util::escape_html to perform fast HTML-escaping of the
data before displaying it. Unfortunately, this function handles
, , and but does not handle ' (single quote) - which
can be escaped as apos;
Hey, this is an easy
* Cristvo Dalla Costa [EMAIL PROTECTED] [2002-10-25 20:29]:
Hi, I'm trying to get my script to work with conditional get, however,
when the browser should use the local copy it doesn't display
anything, just telling me that the image's broken.
The Eagle book implies that you need to use
* Randy Kobes [EMAIL PROTECTED] [2002-10-17 17:01]:
I've placed at
ftp://theoryx5.uwinnipeg.ca/pub/other/Apache-GeoIP-0.26.tar.gz
a package providing a mod_perl interface to the GeoIP library,
which is used to look up in a database the country of origin of
an IP address. See
* Randy Kobes [EMAIL PROTECTED] [2002-10-25 12:01]:
There are a couple of modules on CPAN - Geo::IP and Geo::Mirror -
that provide a general Perl interface to the GeoIP library.
Oh. I should have checked; sorry about that!
* Michael Schout [EMAIL PROTECTED] [2002-10-25 11:42]:
darren
* Rob Mueller [EMAIL PROTECTED] [2002-10-13 08:00]:
Just wondering if anyone has seen this problem before, or has a general
solution to it. Basically what we see, is that with some submitted forms,
usually with 8 bit data, the POST parameters passed become 'doubled'. The
problem is that we
* Michael McLagan [EMAIL PROTECTED] [2002-09-21 11:45]:
There is a bug in Apache::Cookie. It doesn't handle a cookie with
zero bytes in it!
This is because Apache::Cookie is implemented in C, and C uses NULL as
the end of string terminator.
This is probably something that needs to be done in
* Nigel Hamilton [EMAIL PROTECTED] [2002-09-21 04:31]:
I just found a really cool tool (mentioned in SysAdmin journal).
It shows a dynamic picture of MySQL processes just like 'top'
[-- snip --]
It would be great to have a similar tool for mod_perl/apache. You
could see the memory
* Ken Miller [EMAIL PROTECTED] [2002-08-26 12:03]:
What's main.pm, and why can't Apache::Reload find it? I've searched
the archives, but have had little success in finding anything
interesting.
Run
find $dir -name 'main.pm' -print
For each dir in @INC, and see what comes up.
(darren)
* Fran Fabrizio [EMAIL PROTECTED] [2002-08-21 11:03]:
Location /rms
/Location
Location /rms/module
/Location
When I call the URL /rms/module/foo, and in
RMS::Control::Module-handler I examine $r-path_info, I get as a value
'/module/foo' rather than the expected '/foo'. If apache
* Fang Cheng [EMAIL PROTECTED] [2002-08-13 23:06]:
If you do an apache code trace, set the breakpoint at
apache_src/main/http_protocol.c function
ap_finalize_request_protocol, you will see the
r-chunked == 0 even though it was set to be 1. You
can also use snoop to see that the trailers
* Michael Drons [EMAIL PROTECTED] [2002-08-13 01:55]:
Thanks for the link. I actually don't use functions.
Everything is mostly in MAIN. Here is a snip of code:
#!/usr/bin/perl -wT
use strict;
print body;
my $r = Apache-request;
$r-content_type(text/html);
$r-status(200);
my
* Dermot Paikkos [EMAIL PROTECTED] [2002-07-26 09:14]:
I tried this as a snippet on its own and it works. I can't figure out
why it doesn't with mod_perl. I was a bit unsure of whether $date =
time(); should be scalar or an array but neither work.
You haven't mentioned how you are calling it.
* simran [EMAIL PROTECTED] [2002-07-23 05:11]:
However: if i create an 'auto' directory in my document root
(something that was not there before)
[-- snip --]
Is this is feature or a bug, does path_info not check the 'Location' it
matced the handler to or is it meant to look at the
Hi,
* [EMAIL PROTECTED] [EMAIL PROTECTED] [2002-07-23 11:26]:
We are implementing mod_perl here for internal intranet use. We have
discovered a possible buglet in CGI.pm.
We do not want CGI.pm to return XHTML as it upsets Verity indexing
(long story).
So sorry to hear about that.
So in
* Chris Pizzo [EMAIL PROTECTED] [2002-07-12 17:02]:
This works but I need to set multiple cookies. Im doing this:
my $c = new CGI::Cookie(-name = 'SID', -value = 'stuff', -expires
= '+6M');
my $cc = new CGI::Cookie(-name = 'BUD', -value =
'Wassup', -expires = '+6M');
* Joe Schaefer [EMAIL PROTECTED] [2002-07-09 12:47]:
Dave Rolsky [EMAIL PROTECTED] writes:
On 8 Jul 2002, Joe Schaefer wrote:
If I do this:
my $x = shift;
$x = make_something_from($x);
then it seems like the original $x should go out of scope when it is
assigned to, so its
* JOSE SOLE [EMAIL PROTECTED] [2002-07-08 14:24]:
I am trying to use Apache::AuthenCache as my authentication handler
for my server. I keep getting a FORBIDDEN error each time I try to
access the index.html page by only typing the URL up to the directory.
Example:
//FORBIDDEN ERROR
* Wes Cravens [EMAIL PROTECTED] [2002-07-05 10:48]:
however if this routine is called more than once with the same $r
object then the second time there are no params. It's as if calling
$apr-param strips them off $r. That's not clever. I can't find
anything in the documentation that says
* Tim Gerla [EMAIL PROTECTED] [2002-06-26 11:33]:
I've got a problem with a perl module (.pm) problem on my server. I've
got two slightly different versions of a file: Conf.pm, in two
separate places on my server. (Let's call them /home/www/docs/web/cgi/
and /home/www/docs/minos/cgi/)
* Noam Solomon [EMAIL PROTECTED] [2002-06-17 17:49]:
I sent out a plea for help last week, but probably didn't provide
enough information for a quick solution. The problem is that I'm using
Apache::OpenIndex (which is similar to Apache::AutoIndex) and have not
been able to get the apache
* Arnold van Kampen [EMAIL PROTECTED] [2002-06-13 09:34]:
Why do I have have so much trouble doing some header parsing? I am
doing header parsing because I wanted to check out cookie behaviour
on relocation/redirection by browser. I get stuck when I cannot get
with the basic stuff.
* Rasoul Hajikhani [EMAIL PROTECTED] [2002-06-12 19:12]:
Hello folks,
I am trying to implement a simple PerlTransHandler to change:
http://myserver/
to
http://myserver.rhythm.com/
And here is my code:
[-- snip --]
Have you seen http://httpd.apache.org/docs/misc/rewriteguide.html?
* md [EMAIL PROTECTED] [2002-06-12 13:15]:
--- Per Einar Ellefsen [EMAIL PROTECTED] wrote:
Can't you just drop the Location and use
Files *.phtml
SetHandler
/Files
or something like that? Seems like it would avoid
some overhead for you.
True...but the files don't actually
* md [EMAIL PROTECTED] [2002-06-12 17:05]:
--- darren chamberlain [EMAIL PROTECTED] wrote:
If you use a translation handler, you can just return DECLINED for
everything you aren't specifically handling, and let mod_dir do it's
thing, instead of emulating it.
I still would like to check
* Viljo Marrandi [EMAIL PROTECTED] [2002-05-02 08:57]:
How can I make my system so, that my perl handler is not called for
each image, css and script the page has?
[-- snip --]
The example handlers that come with HTML::Mason have an answer; in
My::Site::handler, add something like:
# If
* Viljo Marrandi [EMAIL PROTECTED] [2002-05-02 10:26]:
The way I figure this, is that https://mysite.com/scripts/* act the
same way as everything used to, and you can load your images from
https://mysite.com/images/* without complaints about crossing the
secure/nonsecure boundry...
* David Jacobs [EMAIL PROTECTED] [2002-04-30 18:31]:
A global counter hanging around is a good solution, but not perfect if
we deploy on multiple servers.
That depends on what you initialize the global to; if you do something
like the last octet of the ip of the vhost and increment it by the
This is OT for mod_perl, sorry...
* Cahill, Earl [EMAIL PROTECTED] [2002-04-29 13:55]:
Our NIS maps are on the order
of 3 GB per file (64k users).
Man, that is one big file. Guess dropping a note to this list sorta
lets you know what you have to really scale to. Sounds like dirsync
* Ken Clark [EMAIL PROTECTED] [2002-04-26 14:33]:
I'll throw my technique into the ring, too. I use Template Toolkit
most of the time, and I pass the original Apache request object back
to the template as a parameter. Then I call the param method to
fill in the value of form elements, like
* Martin Haase-Thomas [EMAIL PROTECTED] [2002-04-24 08:19]:
forwarding is a term that i borrowed from the JSP concept - which i'm
currently trying to implement in perl. it means nearly the same as
redirect, but without telling the client. (as far as i've understood
it do far. maybe it's just
* [EMAIL PROTECTED] [EMAIL PROTECTED] [2002-04-22 09:53]:
The fact is that developers in my team have Apache under /usr/local in
Linux machines, but we would prefer to develop as normal users, not as
www or nobody, though that will be the user in production.
See the section on
* Rasoul Hajikhani [EMAIL PROTECTED] [2002-04-18 16:29]:
I don't seem to be able to make pnotes, notes or subprocess_env work.
I am trying to pass a value from a handler to another, and from what I
have read in the Eagle, and cook book, the request ought to be the
main one in order for the
* Stephen Gray [EMAIL PROTECTED] [2002-04-18 15:34]:
On Thu, 18 Apr 2002 [EMAIL PROTECTED] wrote:
or you would be safer running your name server as named as opposed
to root.
STEVE
It should be run as named, but trying to start and stop it as the
named user won't get you very far if
* Dan Wilga [EMAIL PROTECTED] [2002-04-09 10:19]:
It's most likely that the stop is actually taking longer than you
expect to process. Apachectl just sends the kill and doesn't wait
around for everything to exit. Depending on what each of the children
is doing, this can take awhile. So the
Kevin A. McGrail wrote:
2nd, The segv.cgi at the same location as the Bad:Segv above, segfaults on
the command line and through normal CGI but not with mod_perl. Here's the
error I get trying to run this script with mod_perl (1.26):
[Tue Apr 9 09:53:16 2002] [error] [Tue Apr 9 09:53:16
* Stas Bekman [EMAIL PROTECTED] [2002-04-09 12:14]:
darren chamberlain wrote:
Kevin A. McGrail wrote:
2nd, The segv.cgi at the same location as the Bad:Segv above,
segfaults on the command line and through normal CGI but not with
mod_perl. Here's the error I get trying to run
* Philip M. Gollucci [EMAIL PROTECTED] [2002-03-27 09:59]:
I know perl is server side and javascript is client side.
AFAIK, getting the resolution is a client side thing. I know I
can embed an html page with javascript in it that redirects to
a perl file setting the query string with
* Philip M. Gollucci [EMAIL PROTECTED] [2002-03-27 10:38]:
Well I've basically taken your route the first time I tried to
do this a year ago. The other problem is that this requires
the vistors go to this particular page. If they bookmark to
another page or type the url of a sublink, this
Quoting dreamwvr [EMAIL PROTECTED] [Mar 21, 2002 13:10]:
Is there any issue with using modperl with postgres vs mysql
for a database driven website? Don't want to bark up the wrong
tree in a mod_perl project only to discover I picked the wrong
.db :-/
Take a look at
Quoting Dave Hodgkinson [EMAIL PROTECTED] [Mar 21, 2002 13:25]:
darren chamberlain [EMAIL PROTECTED] writes:
Quoting dreamwvr [EMAIL PROTECTED] [Mar 21, 2002 13:10]:
Is there any issue with using modperl with postgres vs mysql
for a database driven website? Don't want to bark up
Quoting Rob Bloodgood [EMAIL PROTECTED] [Mar 14, 2002 14:30]:
I've been trying, in various attempts over the past two years,
to come up with a compromise between the two. The closest I've
come was somebody mentioned a CVS emulation layer over a DAV
repository... but that never came to
Quoting Thomas Hanson [EMAIL PROTECTED] [Mar 07, 2002 07:36]:
I am trying to make 2 perl scripts for our cube3 since we are
trying to automate the add user and delete user administration.
So far I have found perl scripts to add users and groups,
delete users and groups but not to add or
Quoting J S [EMAIL PROTECTED] [Mar 07, 2002 12:18]:
I've installed an apache build I did onto a Solaris
2.6 box, and when I try to start it I get the following error message:
ld.so.1: /opt/apache_1.3.22/bin/httpd: fatal: libperl.so.1: open failed:
No such file or directory
Killed
I
Quoting Rafael Caceres [EMAIL PROTECTED] [Mar 06, 2002 12:22]:
Perrin Harkins wrote:
Unless there is some additional module provided by Oracle
which has a C component and no source, you should be fine to
replace everything they gave you if you want to. I wouldn't
bother though, unless it's
- Forwarded message from PAUSE [EMAIL PROTECTED] -
Date: Thu, 14 Feb 2002 19:13:11 +0100
Reply-To: [EMAIL PROTECTED]
Subject: CPAN Upload: D/DA/DARREN/Apache-MultiAuth-0.04.tar.gz
From: PAUSE [EMAIL PROTECTED]
To: Darren Chamberlain [EMAIL PROTECTED], [EMAIL PROTECTED]
The uploaded file
Quoting Marcel Weber [EMAIL PROTECTED] [12 Feb-02 16:15]:
I don't get the point why it did not work the other way round,
but now everything is just fine now :
Make it a little more generic:
package Apache::MultiAuthen;
use strict;
use Apache::Constants qw(:common);
sub handler {
my $r =
Quoting Aaron Ross [EMAIL PROTECTED] [13 Feb-02 09:21]:
shouldn't stacked handlers be the right solution here? are
stacked auth handlers not allowed or something?
Assuming your mod_perl has been built with them, then, yes, that's
probably a better solution. But I had a fun 15 minutes writing
Quoting Marcel Weber [EMAIL PROTECTED] [13 Feb-02 14:53]:
Why not submitting this somewhere? I think this could be
usefull for quite a lot of people. I think this is cool, as you
do not have to worry wether the module returns DECLINED or
AUTH_REQUIRED.
I can package this up and put it on
Quoting Stathy G. Touloumis [EMAIL PROTECTED] [13 Feb-02 15:26]:
Some more fixes ; )
Yay! Bug reports already...
I would suggest changing the PerlSetVar variables
to actual apache configuration directives which would change this :
my @auth_modules=$r-dir_config-get(AuthModules);
I
Michael A Nachbaur [EMAIL PROTECTED] said something to this effect on 01/28/2002:
Does anyone know of a way that I can server the contents of an
.htaccess file dynamically? I know Apache checks the request
directory (and all directories above it) for an .htaccess file
before serving a file
Matthew Kennedy [EMAIL PROTECTED] said something to this effect on
01/28/2002:
Hello, I am using LWP::Simple within a mod_perl context to
retrieve content from an external site within a request to our
site. I've installed LWP::Simple correctly, however is doesn't
work within mod_perl and (I
Hans-Olof Hermansson [EMAIL PROTECTED] said something to this effect on 12/19/2001:
I am looking for a perl module that can convert a
bitmap picture to jpeg or gif. I am sending a bitmap
from a Pocket PC device to a Solaris webserver running
Apache. If anyone has any tips it will be greatly
[EMAIL PROTECTED] [EMAIL PROTECTED] said something to this effect on
12/17/2001:
I'm recording a url at the beginning of an app to restore the
entrance url:
sub set_referer {
my $self = shift;
if ($self-{R}) {
require Apache::Cookie;
[EMAIL PROTECTED] [EMAIL PROTECTED] said something to this effect on
12/18/2001:
Use escape_uri and unescape_uri, or some other pair of reversable
functions. For example, store it as:
Tried this and it appears that Apache::Util escapes the same
characters that Apache::Cookie does when it
Alexei Danchenkov [EMAIL PROTECTED] said something to this effect on 12/14/2001:
Hello, All!
I wonder why my '$cookie-expires' for this code returns a
different result than the similar one with CGI::Cookie
(commented). The result is different in a way that some
additional binary code is
Joe Schaefer [EMAIL PROTECTED] said something to this effect on 12/13/2001:
Is this what you want
$apr = Apache::Request-new( $r-is_main ? $r : $r-main,
POST_MAX = 1024);
? I don't think Apache::Request provides any Perl methods for
culling the post_max
Thomas Klausner [EMAIL PROTECTED] said something to this effect on 12/11/2001:
I've got a small CPAN Namespace Question:
Some time ago I wrote CGI::URI2param (
http://search.cpan.org/search?mode=modulequery=URI2param
).
Now, thanks to an idea by darren chamberlain, I wrote a small
James G Smith [EMAIL PROTECTED] said something to this effect on 12/12/2001:
darren chamberlain [EMAIL PROTECTED] wrote:
5) Include Apache::URI2Param with the CGI::URI2Param module
that gets installed along with CGI::URI2Param if Apache.pm is
installed, where Apache::URI2Param
Lance Uyehara [EMAIL PROTECTED] said something to this effect on 12/12/2001:
I'm using a CGI script which makes a call to raw_cookie(). When
I run in CGI mode everything works fine, and the cookie which
matches $ENV{HTTP_COOKIE} is returned.
What version of CGI.pm are you using? CGI.pm goes
Jay Lawrence [EMAIL PROTECTED] said something to this effect on 12/11/2001:
In my development I neglected to supply the Apache request
object when I called Apache::Request-new( $r ). Actually $r
was undef. It still works! I am just wondering if this is
expected behaviour and if it will be
Dave Hodgkinson [EMAIL PROTECTED] said something to this effect on 12/06/2001:
Whatever happened to the widget subproject that span out of the
modperl list a few months ago?
http://www.officevision.com/pub/Widget/
Not too active lately:
http://sourceforge.net/project/stats/?group_id=27958
Sean Chittenden [EMAIL PROTECTED] said something to this effect on 10/15/2001:
I'm interested in the C routines, not the perl routines (have them
working and know how to get them to work ::grin::). I can do a perl
Makefile.pl make and the build works fine, but like I said, I'm
interested in
Nicholas Oxhj [EMAIL PROTECTED] said something to this effect on 10/11/2001:
Does anybody know why Apache::Registry caches compiled scripts
by their URI, instead of by their absolute path?
Try Apache::RegistryNG, which caches scripts by their filename.
(darren)
--
Premature optimization is
Steven Boger [EMAIL PROTECTED] said something to this effect on 09/28/2001:
I've been netsearching for hours. It's time to beg for help...
My apache has a hacked mod_include that has a new directive, OAS:
!--OAS
SETUP=www.realmedia.com/Samples/lx.shtml@TopLeft,TopRight,BottomLeft,
Recendez, Ray [EMAIL PROTECTED] said something to this effect on 09/27/2001:
How do I check if StackedHandlers, MethodHandlers, Authen, and
Authz are compiled in?
httpd -L | grep '^Perl'
(darren)
--
If NT is your answer, you don't understand the question.
Steven Boger [EMAIL PROTECTED] said something to this effect on 09/24/2001:
I have heard whispers of calling internal OAS functions
directly in mod_perl instead of using OAS's hacked mod_include.
If anybody has info on this, i'd greatly appreciate it...
I've looked into using the OAS API
dss [EMAIL PROTECTED] said something to this effect on 09/17/2001:
The issue is that I'm using virtual urls, so these .phtml
files don't actually exist and FilesMatchwants a physical file
on the server. I'm curious if my approach is the best way.
Shouldn't LocationMatch be what you want?
Alin Simionoiu [EMAIL PROTECTED] said something to this effect on 09/09/2001:
I forgot to mention that I'm trying to inspect the body in a
authentication handler. As soon as a get the body, the body is
gone.
So save the body. Put it into pnotes or something:
sub handler {
my $r =
Geoffrey Young [EMAIL PROTECTED] said something to this effect on 09/06/2001:
BlankWhat is the best way to share % across multiple requests ?
it's called maintaining state - read the eagle book, chapter 5.
one common solution is Apache::Session
sorry, I think I misread the
Rodney Broom [EMAIL PROTECTED] said something to this effect on 08/23/2001:
From: Rasoul Hajikhani [EMAIL PROTECTED]
I am sorry but this topic is confusing me... Are you saying that
persistent DB connection objects are bad?
It sounds like that, doesn't it?
This is only when one handle is
winnecon [EMAIL PROTECTED] said something to this effect on 08/17/2001:
Mod_PERL pulls up the first page of my cgi, but every time I try to
navigate around using form action buttons (get method) it pulls up
the original perl code for the cgi in the browser, as if ExecCGI was
not turned on,
Joachim Zobel [EMAIL PROTECTED] said something to this effect on 08/19/2001:
(offline mode: enter name=value pairs on standard input)
I have understood that I get theses messages because it is a Fixup Handler
and the enviroment is not yet initialized. But I still don't know what to
do
Aleksandr Vladimirskiy [EMAIL PROTECTED] said something to this effect on 08/14/2001:
I am running a perl 5.6.0, mod_perl 1.26, apache 1.3.19 on Solaris 2.6.
I get the following error in my logs:
perl 5.6.0 has DynaLoader bug that minifests itself under
mod_perl. Upgrade to 5.6.1, downgrade to
James McKim [EMAIL PROTECTED] said something to this effect on 07/18/2001:
Hi all,
I've run into a very frustrating problem. I'm getting the old Can't
locate loadable object for module... error, yet the file does exist in
the @INC path. Here's some system output:
[EMAIL PROTECTED] [EMAIL PROTECTED] said something to this effect on 07/14/2001:
I am having a nightmare trying to get some PHP into the output of
a Perl script. PHP. I've heard rumours of Apache 2.0 allowing multiple
filters, which would be perfect when it's out, but not yet obviously.
Add
Jay Buffington [EMAIL PROTECTED] said something to this effect on 07/11/2001:
I'm trying to use image magick to manipulate images that are
uploaded via http. To handle the uploaded images I'm using
libapreq's Apache::Upload.
I wrote the below simple example script to help explain my
ivan [EMAIL PROTECTED] said something to this effect on 07/09/2001:
ok I have two questions about TT, let me begin with the
first one the easier ...
*snip*
How can in the parent template distinguish between these two
cases (if scalar place it, if file include it ). There is
third
On Mon, 9 Jul 2001, Surat Singh Bhati wrote:
But all the .pl , including fast_(.*).pl are run by Apache::PerlRun handler
Any solution to exclude the fast_(.*).pl in second expression?
Set the PerlRun handler as the default in httpd.conf, and write
your own translation handler:
package
Purcell, Scott [EMAIL PROTECTED] said something to this effect on 07/09/2001:
Sorry to be confused, but I believe I did not create a global variable. In
the code below that I showed, I used a my to localize the $tmp variable
inside the for loop.?
Anyway, I changed the simple code and added
Dave Hodgkinson [EMAIL PROTECTED] said something to this effect on 07/09/2001:
Paul [EMAIL PROTECTED] writes:
Just use it in your handlers normally. It'll only be included once per
process, . . . right?
Put it in startup.pl and it'll get mostly shared too!
Is that anything like being
[EMAIL PROTECTED] [EMAIL PROTECTED] said something to this effect
on 07/06/2001:
my setup: I have files in a directory, that a user can only get if
subscribed. My apache is hacked with both C and mod_perl
enhancements to authentication/authorization. My .htaccess
looks
Chad Phillips [EMAIL PROTECTED] said something to this effect on 07/06/2001:
Hi,
I have set up Authcookie. I modified the sample scripts for my sight.
Everything works except when the wrong password is entered. When an invalid
user/password is entered, instead of re-displaying the login
Jay Buffington [EMAIL PROTECTED] said something to this effect on 07/06/2001:
I'm building a web application that has a User perl module. I
have several other perl modules that need to know the user id
of the current logged in user (or 0 for a guest user). I was
thinking that I could write
Alberto Canzi [EMAIL PROTECTED] said something to this effect on 07/05/2001:
Hi, I'm writing a perl module for Apache, but I have this
problem:
I need to allocate some memory that will persist for the entire
apache server's cycle of life. (That is: I need to allocate
some memory at the
James G Smith [EMAIL PROTECTED] said something to this effect on 07/02/2001:
How would something like this do:
NAME
Apache::Use
SYNOPSIS
use Apache::Use (Logger = DB, File = /www/apache/logs/modules);
DESCRIPTION
Apache::Use will record the modules used over the course of the
Viljo Marrandi [EMAIL PROTECTED] said something to this effect on 07/03/2001:
Hello,
Is it possible, if yes then how, to set handler recursively for one
directory? Now my handler is defined:
Directory /my_server
SetHandler perl-script
PerlHandler MyServ::MyHandler
/Directory
Viljo Marrandi [EMAIL PROTECTED] said something to this effect on 07/03/2001:
If sounds like you want to use r-path_info in your application,
so you *can't* create these directories, or they will become part
of r-filename, not r-path_info.
Actually i thought about r-uri. It returns
James G Smith [EMAIL PROTECTED] said something to this effect on 07/03/2001:
darren chamberlain [EMAIL PROTECTED] wrote:
James G Smith [EMAIL PROTECTED] said something to this effect on 07/02/2001:
Apache::Use
You can get this information from %INC, can't you? e.g.:
Most definitely
Robin Berjon [EMAIL PROTECTED] said something to this effect on 07/03/2001:
On Tuesday 03 July 2001 21:18, Thomas Klausner wrote:
I have a nearly finished module which applies some regular
expression (specified in some config file) to the URI and puts the
stuff it found into $r-param (that
Islandman [EMAIL PROTECTED] said something to this effect on 06/26/2001:
The small code segment below will get the contents of a web page using a
perl script. The site I want to access wants a cookie sent as well.
There is a cookie for this site is in my ~/.netscape/cookies file. How
do I
Geoffrey Young [EMAIL PROTECTED] said something to this effect on 06/26/2001:
I did some more digging...
it seems that any request that is served by the default Apache content
handler is ok - only those that are processed by mod_perl (well, anything
that isn't the default) seem to be
Purcell, Scott [EMAIL PROTECTED] said something to this effect on 06/27/2001:
Mod_perl version: 1.25_01-dev
Perl version: 5.6.1
Apache Version: 1.3.20
OS:NT
I am in the apache book and I am doing some hacking. In my startup.pl file,
I put 'use CG
will trillich [EMAIL PROTECTED] said something to this effect on 06/27/2001:
okay -- but if you want some of your site to be indexed by the
standard mod_autoindex, yet have mod_perl intervene for certain
subtrees, you'll find that mod_perl never gets a chance at it
because the mod_autoindex
Philip Mak [EMAIL PROTECTED] said something to this effect on 06/27/2001:
On Wed, 27 Jun 2001, will trillich wrote:
okay -- but if you want some of your site to be indexed by the
standard mod_autoindex, yet have mod_perl intervene for certain
subtrees, you'll find that mod_perl never gets
Rodney Broom [EMAIL PROTECTED] said something to this effect on 06/25/2001:
Hi all,
I'd like a way to store complex data structures across Apache
processes. I've looked at Apache::DBI for an example: my tests
say that he has to create a new dbh for every process. I've
looked at
Glen Small [EMAIL PROTECTED] said something to this effect on 06/26/2001:
I'm having some problem setting a cookie in a logon script i
have. The code work fine as a CGI, and also under mod)perl,
however, I want to set a cookie during the login script, and
then redirect the browser to another
1 - 100 of 215 matches
Mail list logo