Rod Brick wrote:
I'm trying to write for a file from a mod_perl script. I can write
successfully to a file located in /tmp, but I cannot write to
the dir containing the script, nor to the apache logs dir. How can
this be accomplished? Is there a setting in httpd.conf that I
need to specify?
Stas Bekman wrote:
You need to add:
PerlOptions +Parent
PerlOption `Parent' requires an ithreads enabled Perl
*doh*
Carl
I'm running into something that may be a feature(!) of
my misunderstanding of how mp works.
I've got this defined in a directive:
PerlRequire "/data/www/foo/secure/etc/startup.pl"
For a number of different virtual servers.
Is it possible for mp2 (or mp in general) to keep state seperate
betwe
Egor Korablev wrote:
Hi
How can I write and get cookies and get POST data (text) under MP2 handler
without using apache::compat?
You can either use libapreq, which is _almost_ there :)
or hack yuor own bits up cribbed from CGI.pm or the test
stuff in the mp2 test suite. That's what I'm using a
Cees Hek wrote:
[chomp]
Thanks Cees, that's exactly what I needed :) My stuff is all completely
generated by scripts where I need access control, but I certainly
see the use for controlling static entity access.
Carl
Forgive me for asking yet another fundamentally basic question.
I'm cutting a web app over from PHP to mod_perl 2, and
am wondering how 'best' (for which there are many flavours ...)
to handle authentication.
At present I've knocked up a site that does auth via a
form and state tracking with Ses
Apache 2.0.46
modperl 1.99-10.dev (CVS snapshot from last night)
perl 5.8.0
NetBSD 1.6.1
I've got a form that I'm posting to an MP2 script, and am parsing the
output with the following subroutines :
sub hash_post {
# returns a hash of all the POST values
my ($r) = shift;
my $post_strin
Carl Brewer wrote:
I'm an idiot :)
It's important that the user accessing a MySQL database
to do any work with Apache::Session::MySQL or Session
have update permission as well as insert, select and
delete on the sessions table.
Carl
Stas Bekman wrote:
Carl Brewer wrote:
I'm using Stas's read_post() call from the test
directory in mp1.99-10-dev, and am using it
to grab POST data of the form of an email
address ..
this is giving me this :
read_post returned : username=carl%40somewhere&password=foo
Escape
mp1.99.10-dev
apache 2.0.46
Session-0.01 (by Olivier Poitrey)
I've got a subroutine as follows :
sub login {
# checks supplied username & passwd against users table in db
# if ok, creates a session & returns session_id & username
# otherwise, returns 0
my ($supplied_username, $supp
Brent, I think Stas was having a bit of a look at it, I
just ignored the error messages and installed it anyway :)
Carl
Brent Jensen wrote:
Carl,
I'm getting the same error on the make test w/ Mod Perl. Did you
resolve this issue? I'm using FreeBSD 5.1. Is it really an issue or is
it just a
I'm using Stas's read_post() call from the test
directory in mp1.99-10-dev, and am using it
to grab POST data of the form of an email
address ..
this is giving me this :
read_post returned : username=carl%40somewhere&password=foo
Escaped the @ ... of course.
I'm curios, where's the best place to
Stas Bekman wrote:
Slava,
[chomp]
I think it's a time to start a new thread on how to improve:
http://perl.apache.org/docs/tutorials/client/compression/compression.html
For starters, apache2/mp2 coverage. As I understand it, and my logs
seem to indicate, mod_deflate compresses everything thr
Stas Bekman wrote:
Carl Brewer wrote:
My appologies, I've tried to grok this from the doco,
but must have missed it somewhere while trying to
parse apache::request somehow?
You mean Apache::RequestRec. Apache::Request is a 3rd party module.
I've got a script, I want to grab submit
My appologies, I've tried to grok this from the doco,
but must have missed it somewhere while trying to
parse apache::request somehow?
I've got a script, I want to grab submitted values to it
of the form :
http://foo.bar/perl/script.pl?a=4
And I want to be able to work out what "a" is within scrip
I'm using mp2 with Template::Toolkit for a number
of production sites on NetBSD. Apart from it whinging
at test time, it seems just fine :)
Carl
I'm looking at Apache::SessionX from Embperl as a possible
session tracker for an app I'm doing with Template::Toolkit,
has anyone any comments/suggestions re how mature this,
(or any other recommendations?) session tracking module
is under mp2? I've read some comments on CPAN discussing
the use
I've just spun up apache 2.0.46 on Solaris 8, and the install of
mod_perl 1.99_09 seems fine so far.
Carl
Stas Bekman wrote:
Lincoln Stein wrote:
You want to move to MP2, if one of the following reasons apply:
- you are stuck with Apache2
- you want to use i/o filters
- you want to write your own protocol handlers
- you want to use a threaded mod_perl
- you are stuck with win32 (mp1 is unusable on
Stas Bekman wrote:
Carl Brewer wrote:
As no-one seems interested in this after a few weeks,
It's not about not being interested, but lacking the access to the
system and/or lacking the expertise on these platforms. We really need
to have at least one person taking care of problems on
As no-one seems interested in this after a few weeks,
I'm considering NetBSD ... anyone got mod_perl2 and apache2
running nicely on NetBSD 1.6? That's my next-choice
O/S for my application, but I don't have a testbed yet to
play with.
Carl
Carl Brewer wrote:
Scanning both dev.m
Do any of you have any recommendations for template systems with
mp2? Not of the religious kind (!) but more on the lines
of what's working with mp2 at the moment? I'm about to port a
PHP app to mod_perl and will be covering IPv6 traffic with it,
so (and I want to as well :) ) will have to use a
Scanning both dev.modperl and here, I've found a couple of
mails concerning OpenBSD and mod_perl 2 (1.99_08) with Apache 2.0.44,
I've tried a few quick hacks and have been unable to get it working
either, with the same error as seen on :
[EMAIL PROTECTED]">http://mathforum.org/epigone/modperl/spo
23 matches
Mail list logo