Pringle, Chris (HP-PSG) wrote:
Thanks for this. I had put 'PerlInputFilterHandler
iPAQApache::ResetBrowser' inside the proxy block, and it should have
been outside like you said.
So it did work this time, right? Perhaps we should issue a warning if a
connection filter is found insider or alike.
Thanks for this. I had put 'PerlInputFilterHandler
iPAQApache::ResetBrowser' inside the proxy block, and it should have
been outside like you said.
_/***
* _/ **Chris Pringle**
_/
Pringle, Chris (HP-PSG) wrote:
Hi,
I've just tried that script again (see link below) using a POST request.
In the error log file, there is the content of the POST Request e.g.
user=cpringle&password=x but nothing else. There is no HTTP headers.
My Apache directive to enable the filter is
Perl
PROTECTED] **
*** _/ *
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]
Sent: 18 September 2003 11:37
To: Pringle, Chris (HP-PSG)
Cc: [EMAIL PROTECTED]
Subject: Re: [mp2][QUESTION]: Filter to modify request headers o
Pringle, Chris (HP-PSG) wrote:
Hi,
I am trying to write a filter that will sit on a proxy server and alter
HTTP requests. Basically, what I want it to do is modify the User-Agent
header field so that when the request is proxied, the remote web server
gets a different User-Agent header field to the
Hi,
I am trying to write a filter that will sit on a proxy server and alter
HTTP requests. Basically, what I want it to do is modify the User-Agent
header field so that when the request is proxied, the remote web server
gets a different User-Agent header field to the one that was originally
sent b
On Mon, 8 Sep 2003, Philip M. Gollucci wrote:
> Say I want the same code to work under:
> Win2k/ISS5.0&CGI
> Win2k/IIS5.0&PerlEX
> Win2k/Apache1&mod_perl1
> Win2k/Apache2&mod_perl2
>
>FreeBSD/Linux/Sun/Apache1&mod_perl1
>FreeBSD/Linux/Sun/Apache2&mod_perl2
>FreeBSD/Linux/Sun/Ap
On Mon, 2003-09-08 at 23:29, Philip M. Gollucci wrote:
> I haven't really had a hard time with this except:
> CGI.pm ($query = CGI->new())
What about it? Is it not working?
> Spreadsheet::WriteExcel (0.26 or less for Win2k/ISS5.0&PerlEx current is
> .40 most likely not thread safe)
> GD.pm (Ac
Say I want the same code to work under:
Win2k/ISS5.0&CGI
Win2k/IIS5.0&PerlEX
Win2k/Apache1&mod_perl1
Win2k/Apache2&mod_perl2
FreeBSD/Linux/Sun/Apache1&mod_perl1
FreeBSD/Linux/Sun/Apache2&mod_perl2
FreeBSD/Linux/Sun/Apache1,2&CGI
Assume perl 5.6.1 ActiveState on Win2k and perl 5.8.0 on Un
Craig Shelley wrote:
Hello again..
On Thu, 2003-09-04 at 14:21, Geoffrey Young wrote:
see Apache::SSI for mp1 - it does exactly what you are trying to do
and
is
subclassable, so you can add your own tags/functionality if you want.
That is exactly what I am already doing.
When using #exec
Hello again..
>
> On Thu, 2003-09-04 at 14:21, Geoffrey Young wrote:
>
> see Apache::SSI for mp1 - it does exactly what you are trying to do
and
> is
> subclassable, so you can add your own tags/functionality if you want.
>
That is exactly what I am already doing.
When using #exec directive
Hello..
Just Forwarding this to the list
> Having no idea as to how the internals of modperl and apache actually
> work, this may seem like a bit of a dumb suggestion.
>
> When doing a subrequest from within a filter, the most ideal situation
> would be to have access to the output from within t
Hi All,
On Wed, 2003-08-27 at 02:33, Geoffrey Young wrote:
> hi craig.
>
>before we continue, please try the latest cvs (without the patch I sent)
> and see if your stuff segfaults there. if not, at least we know we've
> isolated the segfault and just have bad logic to fix :)
Well:
It s
Craig Shelley wrote:
MP_AP_PREFIX => /home/craig/temp/mod_perl-1.99_09/
hi craig.
before we continue, please try the latest cvs (without the patch I sent)
and see if your stuff segfaults there. if not, at least we know we've
isolated the segfault and just have bad logic to fix :)
if
Geoffrey Young wrote:
[...]
as I said, nowhere in any of the module shipped with core do I find
logic like this - mod_include and mod_cgi both seem to call
ap_run_sub_req without flushing the main data stream (though
mod_include does split the stream and send the data _prior to the tag_
off).
Geoffrey Young wrote:
the problem is with the r->main logic in mpxs_ap_run_sub_req.
with that logic, what ends up happening is that the data currently
being operated on is explicity flushed. this is bad within a
(streaming) filter where you are expected to call $f->print yourself,
as the dat
however, removing that logic causes api/lookup_uri2.t to fail, but I
suspect this is an issue with puts() rather than the subrequest
mechanism - changing puts() to print() makes everything work just
fine. does puts() write directly to the wire, bypassing filters?
Sorry, but that's cheating ;)
Geoffrey Young wrote:
Stas Bekman wrote:
Craig Shelley wrote:
I'll take a look at it. But you didn't supply a complete bug report
as explained http://perl.apache.org/bugs/. Please do so.
I think I've got this figured out.
the problem is with the r->main logic in mpxs_ap_run_sub_req.
with t
Craig Shelley wrote:
On Tue, 2003-08-26 at 19:03, Stas Bekman wrote:
Thanks, but you have missed the core dump's backtrace.
I am sorry but I have never used core files before, so forgive me if I
have done this all wrong.
No worries, this task is not trivial. Your trace is almost perfect. The only
Stas Bekman wrote:
Craig Shelley wrote:
I'll take a look at it. But you didn't supply a complete bug report
as explained http://perl.apache.org/bugs/. Please do so.
I think I've got this figured out.
the problem is with the r->main logic in mpxs_ap_run_sub_req.
with that logic, what ends up h
On Tue, 2003-08-26 at 19:03, Stas Bekman wrote:
> Thanks, but you have missed the core dump's backtrace.
I am sorry but I have never used core files before, so forgive me if I
have done this all wrong.
I configured apache to only have one server process.
Then using gdb, I connected to the serve
Craig Shelley wrote:
I'll take a look at it. But you didn't supply a complete bug report as
explained http://perl.apache.org/bugs/. Please do so.
Here is that bug report related to the earlier postings.
-8<-- Start Bug Report 8<--
1. Problem Description:
> I'll take a look at it. But you didn't supply a complete bug report as
> explained http://perl.apache.org/bugs/. Please do so.
Hi,
Here is that bug report related to the earlier postings.
-8<-- Start Bug Report 8<--
1. Problem Description:
Craig Shelley wrote:
does anything change if you use
$rr = $f->$r->lookup_uri("subrequest.txt", $f->next);
No it doesn't seem any different, the server still seg faults.
When it does this, it produces no output at all.
telnet 127.0.0.1 80
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape char
> does anything change if you use
>
>$rr = $f->$r->lookup_uri("subrequest.txt", $f->next);
No it doesn't seem any different, the server still seg faults.
When it does this, it produces no output at all.
telnet 127.0.0.1 80
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'
my $rr = $f->r->lookup_uri("subrequest.txt");
#$rr->run;
For some reason, the server segfaults when the above code is run (with
the $rr->run line present)
does anything change if you use
$rr = $f->$r->lookup_uri("subrequest.txt", $f->next);
?
--Geoff
--
Reporting bugs:
Hello,
I am a newbie to this list, so please forgive me if this is not the
place where I should asking this question.
I am writing a filter module for MP2 that will parse its input for
certain embedded commands.
One of these commands should cause the filter to issue a SubRequest to
get the
/modify HTML passed over SSL in case of GET
(working on POST at this time) with a given setup:
SSL-unaware browser <-> mod_proxy+mod_ssl+mod_perl <->
SSL server
this question should probably be like 'How to setup
Apache + mod_ssl + mod_proxy + mod_perl to make
filtering of plain HTM
To the best of my knowledge, the 'proxy' that is used in LWP still cannot
support CONNECT style SSL proxies, meaning its very hit or miss if it
works - roughly 50/50 for the few hundred proxies ive checked recently.
try replacing *all* your $UA->proxy lines with
$ENV{HTTPS_PROXY} = "http://loc
Ilia Rassadzin wrote:
Hello,
I am trying to filter DECRYPTED, PLAIN TEXT data. I
attached my two configuration files. If more
information needed i can send my logs.
Ideally I want to make a setup where
encryption/decryption being done twice in order to
filter DECRYPTED, PLAIN TEXT data(correct me
Hello,
I am trying to filter DECRYPTED, PLAIN TEXT data. I
attached my two configuration files. If more
information needed i can send my logs.
Ideally I want to make a setup where
encryption/decryption being done twice in order to
filter DECRYPTED, PLAIN TEXT data(correct me if I am
wrong)
Like S
Ilia Rassadzin wrote:
Hello mod_perl,
I have some problems with filtering HTTPS traffic.
I modified for my needs FilterSnoop module from Stas
Bekman filter tutorial. It perfectly sees HTTP data,
but not HTTPS.
Does anyone have any suggestions(ideas) about how to
implement a filter which will see H
Thanks for the reply Thomas,
> Why not let determine_proper_action() return undef (or OK, or whatever) if
> you do not want to redirect? And in your handler do:
>
> my $rv=determine_proper_action();
> if ($rv) { # or ($rv == Apache::Constants::OK)
> # redirect
> } else
> # done
>
Hi!
On Mon, Aug 18, 2003 at 08:07:30 -0400, Chris Faust wrote:
> Example To Help Explain:
>
> sub handler {
> $r = shift;
>
> init_global_vals();
>
> $back_url = determine_proper_action();
>
> my $back_url = "";
> $r->headers_out->set(Location => $back_url);
>
> return Apache::REDIRECT;
Folks,
In the continuing effort to make my code better,
I'm trying to get rid "exit" in my scripts and clean up some things that
just don't sit well (but they work).
Almost 95% of my pages are served up via a template
system (H::T) and the rest are a redirects.
Currently I use a subroutin
I am getting up and running a server that wants mod_perl. The instructions
talks about a startup script. I'm very new, so I don't know how I'm
supposed to get this step completed.
Do I copy the provided script to a location? Do I edit an existing script?
Do I edit some configuration file?
Than
Hi!
On Wed, Aug 13, 2003 at 09:28:37AM -0700, Wes Plate wrote:
> I am getting up and running a server that wants mod_perl. The instructions
> talks about a startup script. I'm very new, so I don't know how I'm
> supposed to get this step completed.
See here for some infos on startup.pl;
http:
Hello mod_perl,
I have some problems with filtering HTTPS traffic.
I modified for my needs FilterSnoop module from Stas
Bekman filter tutorial. It perfectly sees HTTP data,
but not HTTPS.
Does anyone have any suggestions(ideas) about how to
implement a filter which will see HTTPS?
Thanks in advan
On Wed, Jul 23, 2003 at 02:37:30PM +0200, Fatih Gey wrote:
> From: "Martin Wickman" <[EMAIL PROTECTED]>
[...]
> > Nope. When the browser gets a 401 response from the server, it
> > will (most likely) pop up a dialog asking the user for name and
> > password. These credentials gets mangled into an
- Original Message -
From: "Martin Wickman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 21, 2003 4:41 PM
Subject: Re: [QUESTION] Can't read out verified username (auth)
> On Mon, Jul 21, 2003 at 12:36:55PM +0200, Fatih Gey wrote:
>
On Mon, 2003-07-21 at 07:31, Влад Сафронов wrote:
> so the question:
> which sub "main_deck" will be executed?
>
> 1. Hi, it's SCRIPT_1!
> 2. Bye, it was SCRIPT_2!
I think #2, because it was the last one eval'ed, and you can only have
one sub with a given nam
On Mon, Jul 21, 2003 at 12:36:55PM +0200, Fatih Gey wrote:
> > On Mon, Jul 21, 2003 at 01:05:58AM +0200, Fatih Gey wrote:
> > >
> > > i was writing my own AuthHandler with modperl v2 (v1.99_09).
> >
> > [...]
> >
> > > After having entered user/pass via html-form, this authentification
> > > doe
Hi!
On Mon, Jul 21, 2003 at 12:36:55 +0200, Fatih Gey wrote:
> I supposed the browser to resend always an unique "bowser session id", which
> is used by apache to save certain values, like $ENV{'REMOTE_USER'}
> (similiar to a session-cookie with uid and serverbased $vars) ..
> Isn't this the way
Hi,
recently I got in trouble with old Apache::ePerl module
(I know there a lot of better html toolkits, but this one is suits for
my WAP-related tasks)
so the question:
we have package, handler for *.perl-embed files
package Apache::ePerl;
use vars qw ($Cache);
$Cache = {};
sub handler
> On Mon, Jul 21, 2003 at 01:05:58AM +0200, Fatih Gey wrote:
> >
> > i was writing my own AuthHandler with modperl v2 (v1.99_09).
>
> [...]
>
> > After having entered user/pass via html-form, this authentification
> > does his job well, but on the following request (on same browser)
> > $obj->us
On Mon, Jul 21, 2003 at 01:05:58AM +0200, Fatih Gey wrote:
>
> i was writing my own AuthHandler with modperl v2 (v1.99_09).
[...]
> After having entered user/pass via html-form, this authentification
> does his job well, but on the following request (on same browser)
> $obj->user doesnt seem to
Hi,
i was writing my own AuthHandler with modperl v2 (v1.99_09).
Getting the Username/Password-Pair from an html-form (submit via post) and finally
checking it against an mysql-table works fine so far.
When the authentification have taken place.. the username should be reminded
in any way, so the
On Thu, 2003-07-17 at 18:56, Frank Wiles wrote:
> > What is the obvious thing I am overlooking?
>
> It's PerlSetVar not SetPerlVar.
* Blush *
Thanks.
Regards,
Walter
--
All things that are, are with more spirit chased than enjoyed.
-- Shakespeare, "Merchant of Venice"
On 17 Jul 2003 18:47:06 +0200
"Walter H. van Holst" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> If I use SetPerlVar in my apache-perl httpd.conf by just plainly
> stating.
>
> SetPerlVar Foo Bar
>
> Apache-perl won't start:
>
> Syntax error on line xxx of /etc/apache-perl/httpd.conf:
> Invalid c
On Today at 6:47pm, WHvH=>Walter H. van Holst <[EMAIL PROTECTED]>...:
WHvH> Hello,
WHvH>
WHvH> If I use SetPerlVar in my apache-perl httpd.conf by just plainly
WHvH> stating.
WHvH>
WHvH> SetPerlVar Foo Bar
WHvH>
Try PerlSetVar instead.
For 1.0
http://perl.apache.org/docs/1.0/guide/config.ht
Hello,
If I use SetPerlVar in my apache-perl httpd.conf by just plainly
stating.
SetPerlVar Foo Bar
Apache-perl won't start:
Syntax error on line xxx of /etc/apache-perl/httpd.conf:
Invalid command 'SetPerlVar', perhaps mis-spelled or defined by a module
not included in the server configurati
Tom Gazzini wrote:
I have a perl function which, amongst other things, needs to redirect
the request to another page.
It also needs to pass all the query parameters of the original request
(both GET and POST) to the redirected page, and also add one parameter
of it's own (an error message).
Sounds
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
Quoting Carl Brewer <[EMAIL PROTECTED]>:
> 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 authenticatio
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
Hi there,
On 8 Jul 2003, Walter H. van Holst wrote:
> On Tue, 2003-07-08 at 10:14, Matt Sergeant wrote:
>
> > Sorry Ged, Walter is talking about CONNECT which is a proxy request.
Argh. :)
> Well, thanks to a someone on IRC I have found a code snippet that might
> do exactly that. So it appear
On Tue, 2003-07-08 at 10:14, Matt Sergeant wrote:
> Sorry Ged, Walter is talking about CONNECT which is a proxy request. It
> goes in place of GET or POST in the request line:
>
> CONNECT mail.openrelay.com:25 HTTP/1.1
>
> I *think* mod_perl will be able to intercept this, but I've never tried
On Monday, Jul 7, 2003, at 20:50 Europe/London, Ged Haywood wrote:
On 7 Jul 2003, Walter H. van Holst wrote:
I am new to mod_perl and am trying to figure out whether it suits my
needs or not. Can I use it to intercept any http CONNECT requests
Apache
receives and answer those?
The concept of a
Hi there,
On 7 Jul 2003, Walter H. van Holst wrote:
> I am new to mod_perl and am trying to figure out whether it suits my
> needs or not. Can I use it to intercept any http CONNECT requests Apache
> receives and answer those?
The concept of a connection is at the transport level, way below HTT
Hi,
I am new to mod_perl and am trying to figure out whether it suits my
needs or not. Can I use it to intercept any http CONNECT requests Apache
receives and answer those?
Regards,
Walter
--
Like almost everyone, I receive a lot of spam every day, much of it
offering to help me get out of de
Randy Kobes wrote:
On Wed, 25 Jun 2003 [EMAIL PROTECTED] wrote:
I've built and installed a new Apache (2.0.46) with mod_ssl and
mod_perl... My goal is authentication via NIS, so I have the
following in an .htaccess file:
AuthName TEST
AuthType Basic
PerlAuthenHandler Apache::AuthenNIS;
require
| To: <[EMAIL PROTECTED]>
|
| cc:
|
| Subject: Questio
I have a perl function which, amongst other things, needs to redirect
the request to another page.
It also needs to pass all the query parameters of the original request
(both GET and POST) to the redirected page, and also add one parameter
of it's own (an error message).
Sounds simple enough, bu
I am trying to roll my own parameter collection routines...
I am trying this:
#Parse / Collect the parameters.
my %params;
foreach ($apr->param)
{
if (ref($apr->param($_)) eq "ARRAY")
$params{$_} = [$apr->param($_)];
On Wed, 25 Jun 2003 [EMAIL PROTECTED] wrote:
> I've built and installed a new Apache (2.0.46) with mod_ssl and
> mod_perl... My goal is authentication via NIS, so I have the
> following in an .htaccess file:
>
> AuthName TEST
> AuthType Basic
> PerlAuthenHandler Apache::AuthenNIS;
> require valid-
All-
I've built and installed a new Apache (2.0.46) with mod_ssl and mod_perl...
My goal is authentication via NIS, so I have the following in an .htaccess
file:
AuthName TEST
AuthType Basic
PerlAuthenHandler Apache::AuthenNIS;
require valid-user
My efforts, however, have been thwarted by the f
Hi -
- Original Message -
From:
dan
martin
To: [EMAIL PROTECTED]
Sent: Sunday, June 08, 2003 11:08
AM
Subject: install upgrade for
mod_perl+apache 2.046 onto apache 2.044 question
I have apache 2.044 installed on win2k. I want to install the
mod_perl
I have apache 2.044 installed on win2k. I want to install the mod_perl which comes with apache included (version 2.046).What do I need to do with the current 2.044 version before installing the new version? Do I uninstall it, stop it, or nothing?Once I install the new version what are the steps to
as an
"index.pl" file. When called as "example.com/index.pl", everything
worked as expected, but when called as "example.com/", apache (or
something) generated a subrequest for index.pl.
NOW my question is, why does apache generate the subrequest *after*
the HeaderParser
Vince Veselosky wrote:
[...]
The thing that triggered it was the fact that the url was an "index.pl"
file. When called as "example.com/index.pl", everything worked as
expected, but when called as "example.com/", apache (or something)
generated a subrequest for inde
Whew, okay, I have an answer, but I also still have a question. The
short explanation:
The "bug" in my code was the fact that I forgot that a request might
also be a subrequest, so now I check if the request is_initial_req and
short circuit if not. (And a tiny bug in my trace code
Vince Veselosky wrote:
[...]
Now here is the thing. The PerlHeaderParserHandler executes TWICE for
every request. The second time through is apparently a different Apache
Could it be that something in your code pushes the handler on the stack again?
I'd suggest debugging with Apache::ShowReque
I'm hoping someone can explain this one to me. I have a virtual host set
up like so:
<
# This declares Apache::Webquills::InitSession::handler
PerlRequire /var/www/html/webquills/offline/wq_startup.pl
ServerName www.example.com
ServerAlias example.com
ServerPath /test
DocumentRoot /var/www/html/
Forgive my use of the list if this is a tad OT - but I seem to not be able
to contact Steven directly all of the sudden (my ISP got but on a RBL, I
think, and it will take them another bit to get off - that's why it took so
long, Steven)
Issac
> > On Tue, 2003-03-25 at 00:12, Issac Goldstand wro
Any word on this Issac? Are you as stumped as I am? I dug into it again
today and verified that the jpeg, png and freetype2 libraries were
installed and verified that they functioned. I also did a complete
rebuild of GD and a CPAN force install on Apache::GD::Thumbnail - all
went well with no erro
Jean-Michel Hiver wrote:
I know that it's possible to chain Apache handlers in a way that the
next handler is executed if the previous handler returned DECLINED.
It sound like you're looking for this:
http://perl.apache.org/docs/1.0/guide/config.html#Stacked_Handlers
The next handler is also execut
Hi List,
I know that it's possible to chain Apache handlers in a way that the
next handler is executed if the previous handler returned DECLINED.
I would like to have the following execution chain:
Handler1
Handler2
...
HandlerN
CGI script (running either as pure CGI or under Apache::Registry).
On Tue, 2003-03-25 at 18:34, Steven A. Adams wrote:
> On Tue, 2003-03-25 at 00:12, Issac Goldstand wrote:
> > - Original Message -
> ..
> > >From the man page:
> > "* ThumbnailBaseDir
> > Sets the directory that contains the images to be thumbnailed. Defaults to
> > ".." if not specifie
On Tue, 2003-03-25 at 00:12, Issac Goldstand wrote:
> - Original Message -
..
> >From the man page:
> "* ThumbnailBaseDir
> Sets the directory that contains the images to be thumbnailed. Defaults to
> ".." if not specified"
>
> Since the virtual directory /home/me/pics/thumbs/../ is wh
riginal Message -
From: "Steven A. Adams" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 24, 2003 3:06 AM
Subject: Apache::GD::Thumbnail Question
> Does anyone use this handler to make on-the-fly thumbs? I've used the
> standard example code in my apach
Does anyone use this handler to make on-the-fly thumbs? I've used the
standard example code in my apache (1.3.27 with MP1) and it seems to
ignore the handler.
Any suggestions?
--
Steven A. Adams <[EMAIL PROTECTED]>
Thomas Whitney wrote:
I was looking at Bricolage, however it appears to be more suited to text
content publishing. I currently use Template::Toolkit to print out the bids
and I imagine I could do all the programming myself--naturally, it would be
helpful to find some package that suited at least s
From: "Thomas Whitney" <[EMAIL PROTECTED]>
> I want to implement a job tracking and database publishing system and hoping
> for some assistance.
>
> My company does short run 4 color digital printing. Because it is short urn
> we handle multiple jobs every day. I developed an online bidding sys
Hi,
I want to implement a job tracking and database publishing system and hoping
for some assistance.
My company does short run 4 color digital printing. Because it is short urn
we handle multiple jobs every day. I developed an online bidding system; it
use Apache, mod_perl, and mysql. Now I
Jean-Michel Hiver wrote:
It's pretty hard to truly separate these things. Nobody wants to use
basic auth, which means there is a need for forms and handlers.
How do you mean, 'nobody'? Users certainly don't mind!
Sure they do. They want a nice HTML login screen, and features like
"remember thi
On Thu, 27 Feb 2003, Bill Moseley wrote:
> On Thu, 27 Feb 2003, Perrin Harkins wrote:
>
> > Jean-Michel Hiver wrote:
> > > Yes, but you're then making the authorization layer inseparable from
> > > your applicative layer, and hence you loose the interest of using
> > > separate handlers.
> >
> > I
> It's pretty hard to truly separate these things. Nobody wants to use
> basic auth, which means there is a need for forms and handlers.
How do you mean, 'nobody'? Users certainly don't mind!
> Then you have to keep that information in either cookies or URLs, and
> there is usually a need to ta
On Thu, 27 Feb 2003, Perrin Harkins wrote:
> Jean-Michel Hiver wrote:
> > Yes, but you're then making the authorization layer inseparable from
> > your applicative layer, and hence you loose the interest of using
> > separate handlers.
>
> It's pretty hard to truly separate these things. Nobody
Jean-Michel Hiver wrote:
Yes, but you're then making the authorization layer inseparable from
your applicative layer, and hence you loose the interest of using
separate handlers.
It's pretty hard to truly separate these things. Nobody wants to use
basic auth, which means there is a need for forms
On Thu, 27 Feb 2003, Jean-Michel Hiver wrote:
> > I think this may be solved by architecture. If you have an Authz layer
> > maybe it needs to be called sooner than right when you need it.
> >
> > I have a Session-based auth system. When the user successfully
> > authenticates the Auth handler doe
> I think this may be solved by architecture. If you have an Authz layer
> maybe it needs to be called sooner than right when you need it.
>
> I have a Session-based auth system. When the user successfully
> authenticates the Auth handler does a lookup in a db where we store all
> users' authz inf
but DECLINED is almost certainly a bad idea.
What was the idea behind
return DECLINED if $r->is_inital_req;
in auth handlers in the first place?
I think it stems from the Eagle book, thus from Doug, but I'm not sure - I
can't remember exactly. it was probably an attempt to reduce overhead for
On Thu, 27 Feb 2003, Geoffrey Young wrote:
> I've decided that the
>
>return DECLINED if $r->is_inital_req;
>
> bit is a bad idea. after a few hours debugging an authorization
> application, I realized that this does nothing but cause problems - if you
> DECLINE a subrequest then it's picked
On Thu, 27 Feb 2003, Jean-Michel Hiver wrote:
> Hi List,
>
> In theory Authentication / Authorization handlers are very cool, because
> the application underneath it doesn't need to know the logic of it, and
> as long as you design web applications with nice, RESTful, sensible URIs
> it would all
Jean-Michel Hiver wrote:
On Thu 27-Feb-2003 at 11:39:32AM -, Richard Clarke wrote:
I've never had any reason to do this so there might be a shortcut but I
think something along the lines of the following should work (As long as
your access/auth handler doesnt make use of $r->is_intial_req())
On Thu 27-Feb-2003 at 11:39:32AM -, Richard Clarke wrote:
> I've never had any reason to do this so there might be a shortcut but I
> think something along the lines of the following should work (As long as
> your access/auth handler doesnt make use of $r->is_intial_req())
>
> use Apache::Cons
request/?foo=bar');
my $status = $subr->status;
my $ok = $status==AUTH_REQUIRED ? 0:1;
Ric.
- Original Message -
From: "Jean-Michel Hiver" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 27, 2003 10:42 AM
Subject: Authorization ques
Hi List,
In theory Authentication / Authorization handlers are very cool, because
the application underneath it doesn't need to know the logic of it, and
as long as you design web applications with nice, RESTful, sensible URIs
it would all work beautifully.
BUT, I cannot figure out how to 'ask' a
ject:Upgrading to perl 5.8.0 (newbie question)
Hi,
I have a server which has the following pre-installed on it:
Apache/1.3.27
mod_perl/1.27
Perl/5.6.1
If I upgrade to Perl/5.8.0 will I have to upgrade mod_perl to a newer
version as well?
Thanks,
NG
>> Hi,
>>
>> mod_perl 1.27 is the latest stable version of mod_perl 1. You're fine.
>>
>> Regards,
>> Sven.
>>
>> Am Mon, 2003-02-24 um 12.24 schrieb Gazi, Nasser (London):
>> > Hi,
>> >
>> > I have a server which has the following pre-installed on it:
>> > Apache/1.3.27
>> > mod_perl/1.27
>> >
1 - 100 of 1104 matches
Mail list logo