Hi all,
I’d like to be able to set SameSite=Strict on a cookie generated using
Apache2::Cookie, but if I simply try to set that parameter, I get the following
error:
Can't locate object method "SameSite" via package "Apache2::Cookie”
Is it possible?
Many thanks,
Andrew.
all or afterwards):
$r->content_type("application/json; charset=utf-8”);
It’s not a huge deal — and I haven’t yet tested whether React freaks out over
the Forbidden HTTP status regardless.
But if there’s a way to do this, I’d love to know. Thanks!
Cheers,
Andrew.
--
Andrew Green
tu) mod_apreq2-20090110/2.8.0
Perhaps it’s inconsistent across distributions?
Cheers,
Andrew.
--
Andrew Green
Article Seven Limited
http://www.article7.co.uk/ <http://www.article7.co.uk/>
Article Seven Limited is a registered company in England and Wales. Registered
number: 5703656. R
ription.
Cheers,
Andrew.
--
Andrew Green
Article Seven Limited
http://www.article7.co.uk/ <http://www.article7.co.uk/>
Article Seven Limited is a registered company in England and Wales. Registered
number: 5703656. Registered office: 10 Hamilton Road, Sidcup, Kent, DA15 7HB.
f = shift;
# So this compiles under old Apache
no strict 'subs';
if ($self->is_old_apache) {
return Apache2::Const::OK;
} else {
return Apache2::Const::AUTHZ_GRANTED;
}
}
Thanks again to you all for your help.
Cheers,
Andrew.
--
Andrew Green
Article Se
my app on both Apache 2.2 and Apache 2.4
servers. Is there anything in the API that would let me determine which one is
in use, so that I can allow for both in my code?
Many thanks for any pointers!
Cheers,
Andrew.
--
Andrew Green
Article Seven Limited
http://www.article7.co.uk/
Article
rlTransHandler. I'd moved things
around in my experiments earlier!
Thanks so much again for the help and advice.
Cheers,
Andrew.
--
Andrew Green
Article Seven Limited
http://www.article7.co.uk/
Article Seven Limited is a registered company in England and Wales. Registered
number: 57036
es a segfault:
$r->push_handlers(PerlMapToStorageHandler => Apache2::Const::DECLINED);
> The problem with the PerlHeaderParserHandler is that it is skipped for
> subrequests. That might in your case affect security.
Thanks -- that's very useful to know.
Cheers,
Andrew.
--
Andr
ar.
Thanks so much, Torsten -- you're a star!
Interestingly, adding a PerlMapToStorageHandler caused a segfault, but using a
PerlHeaderParserHandler instead (with identical code) worked like a dream.
Cheers,
Andrew.
--
Andrew Green
Article Seven Limited
http://www.article7.co.uk/
Article Seven Li
Hi all,
I'm putting together a mp2 application where I'd like to trigger authentication
from within a PerlTransHandler, and not from httpd.conf.
As I understand it, the following should work:
-
use Apache2::RequestUtil ();
$r->add_config(['require valid-user']);
$r->push_handlers(PerlAut
Hi,
I'm developing an intranet application with authentication provided by
Apache::AuthCookieNTLM. Tests are working perfectly for internal users
(thank-you module authors) -- but the site must also be available to
external users through an extranet.
The requirement here is that, where a user
he SV numbers are different for each). I suspect that the problems
occur after a restart that results in those errors. The log from
yesterday corroborates this, but I don't yet have enough evidence to be
sure.
Cheers,
Andrew.
--
::
article seven Andrew Gr
Hi,
I'm encountering an occasional error with a couple of Apache::Registry
scripts, exemplified thus:
Can't locate object method "handler" via package "handler"
(perhaps you forgot to load "handler"?) at
/path/to/my/registry/program line 12.
Here's the program up to and
use MyApp::MyInstall::Dispatcher ();
Thanks for your help.
Cheers,
Andrew.
--
::
article seven Andrew Green
automatic internet [EMAIL PROTECTED] | www.article7.co.uk
Hi,
I seem to have a bizarre problem with method handlers on my setup. I
have a set of different handlers, all of which are method handlers so
that I can easily inherit shared code across a collection of different
installations of my application on the same server.
The first handler to get in
st=,
domain=DOMAIN1, msg_len=0
[Mon Jul 5 15:04:50 2004] [error] access to /res/env.cgi failed for ,
reason: SMB Server connection not open in state 3 for /res/env.cgi
Any ideas would be very much appreciated.
Cheers,
Andrew.
--
::
article seven Andrew Gree
any application.
Cheers,
Andrew.
--
::
article seven Andrew Green
automatic internet [EMAIL PROTECTED] | www.article7.co.uk
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
ay". Restarting Apache will bring MySQL back,
but you'll still have lost your data.
Cheers,
Andrew.
--
::
article seven Andrew Green
automatic internet [EMAIL PROTECTED] | www.article7.co.uk
--
Report problems: http://perl.apache.org/bugs
heers,
Andrew.
--
::
article seven Andrew Green
automatic internet [EMAIL PROTECTED] | www.article7.co.uk
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/m
problem.
Cheers,
Andrew.
--
::
article seven Andrew Green
automatic internet [EMAIL PROTECTED] | www.article7.co.uk
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.or
Cheers,
Andrew.
--
::
article seven Andrew Green
automatic internet [EMAIL PROTECTED] | www.article7.co.uk
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
oublesome than Perl's.
Amen to that.
Cheers,
Andrew.
--
::
article seven Andrew Green
automatic internet [EMAIL PROTECTED] | www.article7.co.uk
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
On Tue, 11 Nov 2003 18:19:31 + (GMT), Ged Haywood wrote:
> If you're using 5.8.0 right now you're probably best advised
> to wait for Perl 5.8.2, as 5.8.1 has a few issues - but it does work
> OK.
Really? Is it ill-advised to use 5.8.1 in a production mod_perl
environment? I'm in the proce
23 matches
Mail list logo