to localhost/pageA (or simply click BACK button) then the browser DO see
the cookie!
Any idea?
Yep. You need $r-err_headers_out-{'Location'} and you could change to
$r-err_headers_out-{'Set-Cookie'} too.
- nick
--
Nick Tonkin {|8^)
already have that :)
- nick
--
Nick Tonkin {|8^)
parsing, please!
- nick
--
Nick Tonkin {|8^)
haven't been able to get
it running here (some sort of install problem, my people tell me).
Not at all ready. I do not believe even a beta release has been made.
- nick
--
Nick Tonkin {|8^)
and
mod_perlish way of doing it, IMO. Just needs good documentation :)
- nick
--
Nick Tonkin {|8^)
to load is
Apache::RequestIO, right?
HTH,
- nick
--
Nick Tonkin {|8^)
it :)
- nick
--
Nick Tonkin {|8^)
::access for Location / -- watch out for this, all.
- nick
--
Nick Tonkin {|8^)
happens and
the user is sent to the /login location. So my actual AccessHandler doesn't
do anything which even resembles a subrequest.
can you post the handler?
- nick
--
Nick Tonkin {|8^)
in the
future.
- nick
--
Nick Tonkin {|8^)
would like to find someway to trace the who/what/where/why of
handler execution. Running with PERL_TRACE left me none the wiser so I was
hoping a user might know a better way?
Richard.
- nick
--
Nick Tonkin {|8^)
of the above and many of its methods
are the same as Apache::Request's.
HTH,
- nick
--
Nick Tonkin {|8^)
::XSLoader::BOOTSTRAP) {
__PACKAGE__-bootstrap($VERSION);
*APR::XSLoader::BOOTSTRAP = sub () { 1 };
}
1;
__END__
Yep, not very enlightening if you're not a C guru.
- nick
--
Nick Tonkin {|8^)
for porting is getting quite extensive.
This doc: http://perl.apache.org/docs/2.0/devel/porting/porting.html is
what you want.
Good luck,
- nick
--
Nick Tonkin {|8^)
D'oh, please s/Apache::Filter/Apache::Sandwich/ in my earlier reply.
Sorry.
- nick
--
Nick Tonkin {|8^)
.
--
Nick Tonkin {|8^)
to specify the port in the
request.
I suggest spending some time with the docs for mod_ssl, if that's what
you're using.
- nick
--
Nick Tonkin {|8^)
On Thu, 6 Mar 2003, Stas Bekman wrote:
Nick Tonkin wrote:
On Wed, 5 Mar 2003, Richard Clarke wrote:
Hi,
I'm trying to figure out why my accesshandler is getting triggered twice
for each request that I make. I'm 100% sure that I'm doing no explicit
lookups/redirects anywhere in my
--
Nick Tonkin {|8^)
with them.
- nick
--
Nick Tonkin {|8^)
with them.
- nick
--
Nick Tonkin {|8^)
On Thu, 6 Mar 2003, Mark James wrote:
Nick Tonkin wrote:
Now that I think about it, maybe you're using CGI.pm to do your redirect?
If so, maybe the code in CGI.pm has not been correctly updated?
Yes Nick, I'm using CGI.pm version 2.91 (the latest). Its redirect code
sends a Status: 302
when you were a young man and the web was even
younger :)
- nick
--
Nick Tonkin {|8^)
,
- nick
--
Nick Tonkin {|8^)
be closer to its final version ...
- nick
--
Nick Tonkin {|8^)
-is_inital_req;
in auth handlers in the first place?
- nick
--
Nick Tonkin {|8^)
to know the user's authz level (0-4) to
produce content ... they do not care how the authz level was generated.
- nick
--
Nick Tonkin {|8^)
is that plug and play auth schemes
only work (unmodified) for the simplest sites.
Anyone using PubCookie?
http://www.washington.edu/pubcookie/
All C, no?
- nick
--
Nick Tonkin {|8^)
On Thu, 20 Feb 2003, Stas Bekman wrote:
Stas Bekman wrote:
Nick Tonkin wrote:
[...]
send_http_header() can't be called before the response phase
Nick, I've just committed a better solution. Please verify that it works for you.
Now that the uri bug is fixed, this fix works fine, Stas
On Wed, 19 Feb 2003, Nick Tonkin wrote:
Hi all,
Cookies driving me nuts as usual but I think the problem appears to be
related to which handler phase we are in.
Basically, the same call to read the cookies works in the PerlHandler but
not in the PerlAccessHandler.
Responding to my own
a heads-up.
- nick
--
Nick Tonkin {|8^)
and voila --
I don't have to set $r-content_type after all but rather can just delete
all the $r-send_http_headers calls.
YMMV, of course, if you have other parts of your webserver that do not
supply a content-type :)
- nick
--
Nick Tonkin {|8^)
line 245.
192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28.
192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28.
Anyone know what GEN1 is and why it appears every so often?
Thanks,
- nick
--
Nick Tonkin {|8^)
to the browser, they'll be there. If they
are and it's still not working, you need to look at the reading of the
cookies in your module.
- nick
--
Nick Tonkin {|8^)
On Fri, 21 Feb 2003, Stas Bekman wrote:
Ged Haywood wrote:
On Thu, 20 Feb 2003, Nick Tonkin wrote:
Hi,
In my logs when dumping a warn() I see this occasionally:
192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28.
192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28
server_hostname is not documented on the list. Anyone know the equivalent
please?
- nick
Is it possible to combine the recommended syntax:
use warnings FATAL = 'all', NONFATAL = 'redefine';
with the ability to turn warnings on in httpd.conf with PerlSwitches -w?
- nick
Nick Tonkin {|8^)
request like that not the is_initial_req
4) If the first time through it reurns DECLINED because it's not an
initial req, how come it goes through again?
5) What the heck is going on here?
Thanks,
- nick
Nick Tonkin {|8^)
'
],
'name' = 'remembered_uri',
'path' = '/'
}, 'CGI::Cookie' )
};
Can anyone offer a clue?
Thanks,
- nick
--
Nick Tonkin
On Thu, 20 Feb 2003, Stas Bekman wrote:
Stas Bekman wrote:
Nick Tonkin wrote:
[...]
send_http_header() can't be called before the response phase
Nick, I've just committed a better solution. Please verify that it works for you.
I'll have a go as soon as poss.
- nick
On Thu, 20 Feb 2003, Stas Bekman wrote:
Nick Tonkin wrote:
server_hostname is not documented on the list. Anyone know the equivalent
please?
it hasn't changes from 1.0. I thought we have been through this already, just
yesterday.
We did. The list is resending mail. Or maybe the mail
On Thu, 20 Feb 2003, Stas Bekman wrote:
Nick Tonkin wrote:
Is it possible to combine the recommended syntax:
use warnings FATAL = 'all', NONFATAL = 'redefine';
with the ability to turn warnings on in httpd.conf with PerlSwitches -w?
-w is the same as:
use warnings 'all
On Thu, 20 Feb 2003, Stas Bekman wrote:
Nick Tonkin wrote:
Hi all,
I my httpd.conf I have:
Location /
AddType text/html .html
PerlAccessHandler WM::Auth::Access
/Location
And in my handler I have:
package WM::Auth::Access;
use strict;
use
On Thu, 20 Feb 2003, Stas Bekman wrote:
Nick Tonkin wrote:
On Thu, 20 Feb 2003, Stas Bekman wrote:
Nick Tonkin wrote:
server_hostname is not documented on the list. Anyone know the equivalent
please?
it hasn't changes from 1.0. I thought we have been through this already, just
Does anyone know the equivalent directive for
$r-server()-server_hostname()
?
Thanks,
- nick
--
Nick Tonkin {|8^)
a 1.x
installation built on this box ...
- nick
--
Nick Tonkin {|8^)
On Wed, 19 Feb 2003, Stas Bekman wrote:
Nick Tonkin wrote:
Does anyone know the equivalent directive for
$r-server()-server_hostname()
it's right there:
use Apache::Server;
$r-server-server_name;
Well, it doesn't work as advertised, I think.
package NPT::MyTest;
use strict;
use
On Wed, 19 Feb 2003, Stas Bekman wrote:
Nick Tonkin wrote:
On Wed, 19 Feb 2003, Stas Bekman wrote:
Nick Tonkin wrote:
Does anyone know the equivalent directive for
$r-server()-server_hostname()
it's right there:
use Apache::Server;
$r-server-server_name;
oops, a typo, should
-status(Apache::OK);
$r-content_type('text/html');
$r-send_http_header;
[...]
This throws the error:
send_http_header() can't be called before the response phase
Thanks,
- nick
--
Nick Tonkin {|8^)
(Apache::Const,APR::Const,Modperl::Const).
But what do I do to get Apache::DBI to work?
Am I missing something really simple here (I hope)?
Thanks
-Chris
- nick
Nick Tonkin {|8^)
you want is
http://marc.theaimsgroup.com/?l=apache-modperlm=104225578207460w=2
- nick
Nick Tonkin {|8^)
those packages too. perl 5.6.1 eould also
be fine; perl 5.6.0 has problems.
HTH,
- nick
Nick Tonkin {|8^)
On Fri, 31 Jan 2003, Lee Goddard wrote:
Does anyone know when this module might be released?
No, no one does. They are working on it. Use CGI.pm instead or revert to
mod_perl/apache version 1 until it is done.
- nick
Nick Tonkin {|8^)
Have you read the mod_perl guide? Especially
http://perl.apache.org/docs/1.0/guide/install.html#Installation_Scenarios_for_mod_perl_and_Other_Components
?
- nick
Nick Tonkin {|8^)
flawlessly on my system which is FreeBSD 4.7 and perl 5.8
I found one in debian unstable, but this requires perl 5.8.
I can't say about other perls, as I said I have 5.8
HTH
- nick
Nick Tonkin {|8^)
provides
excellent support.
Ask, can you block this bozo from the list?
- nick
Nick Tonkin {|8^)
machine
running thttpd serving all those images for 50 or a hundred webservers.
So sometimes I believe it's called for.
- nick
Nick Tonkin {|8^)
On Sun, 19 Jan 2003, Stas Bekman wrote:
Nick Tonkin wrote:
On Fri, 17 Jan 2003, Nick Tonkin wrote:
Hey all,
Building the latest mp2 I get:
protocol/echo_filter.ok
Failed Test Stat Wstat Total Fail Failed List of Failed
] [info] removed PID file
/home/tmp/build/modperl-2.0/t/logs/httpd.pid (pid=9500)
[Sat Jan 18 21:23:44 2003] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=9500
- nick
Nick Tonkin {|8^)
'Configuring and Installing Prerequisites' it gives an an
example:
% ./Configure -des -Dusethreads
I'm confused. Where's the quick answer to whether or not I should use
threads? I'm on FreeBSD 4.7.
Thanks,
- nick
Nick Tonkin {|8^)
On Sat, 18 Jan 2003, Stas Bekman wrote:
Nick Tonkin wrote:
Well, I'm taking the plunge.
I have a brand new spiffy machine I'm configuring and I've decided, since
for once I don't have to get it up and running urgently, to go the whole
hog and move to the 2.0 world.
For me
the probs in the prefork mpm section. Obviously the
threaded-mpm requires threads.
Looks better to me. More clear.
-nick
Nick Tonkin {|8^)
17 20:03:55 2003] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=62235
I have perl 5.8 on FreeBSD 4.7 with latest apache2 as of today.
Thanks,
- nick
Nick Tonkin {|8^)
On Fri, 17 Jan 2003, Nick Tonkin wrote:
Hey all,
Building the latest mp2 I get:
protocol/echo_filter.ok
Failed Test Stat Wstat Total Fail Failed List of Failed
in its address bar?
Let me know if you need to know more about any aspect of my
implementation. And, thanks for your help.
-vish
- nick
Nick Tonkin {|8^)
your web server gets bogged down,
than you should look at setting up a thin front-end apache with the
mod_perl server behind. That's the subject of a good deal of info in the
mod_perl Guide and in the archives of this list.
- nick
Nick Tonkin {|8^)
Nick Tonkin {|8^)
hardware.
- nick
Nick Tonkin {|8^)
On Tue, 24 Dec 2002 [EMAIL PROTECTED] wrote:
Hi all
Apologise if I have posted to the wrong list. I am quite new to the
Perl*Handlers. I am wondering if it is possible to write a handler
which parses the very first header line, say..
telnet localhost http
Trying 127.0.0.1
Connected
CGI.pm via CPAN.
- nick
Nick Tonkin {|8^)
Thanks-
Rodney
On Wed, 18 Dec 2002 16:13:19 +0800 Stas Bekman [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
I am having some trouble installing mod_perl
on my redhat linux 8.0 box. I
successfully
meant to s/brag/ramble/g ... one thing I've
never seen you guilty of is bragging :)
Nick Tonkin {|8^)
On Tue, 17 Dec 2002, Stas Bekman wrote:
I've the feeling that many subscribers are quite confused about the
on-topic/off-topic policy on this list.
In general
by
glossing over how large a field of study mod_perl is. It's almost as bad
as the Teach Yourself Perl in 24 Hours title put out by Geoff's
publisher.
I urge you to rethink this plan.
- nick
Nick Tonkin {|8^)
On Wed, 11 Dec 2002, Nathan Torkington wrote:
I need some people
. (That's why the Eagle book, and the mpDC, are so
good.)
- nick
Nick Tonkin {|8^)
Not a mod_perl issue; in your apache conf do this:
# I keep all images and javascripts etc under /_[something]
SetEnvIf Request_URI /_ dontlog
CustomLog /home/nick/logs/httpdlog common env=!dontlog
- nick
Nick Tonkin {|8^)
On Tue, 19 Nov 2002, Cure wrote:
I'm
some of the art these kids make (and also
why we need a new one!) can be viewed at http://www.rain.org/~artworks/
A cool project by one of the students is at
http://www.rain.org/%7Eartworks/NewATW/students/norma_web/norma_intro.html
Thanks folks,
- nick
Nick Tonkin {|8^)
some of the
techniques I mentioned above.
- nick
Nick Tonkin {|8^)
- nick
Nick Tonkin {|8^)
On Tue, 27 Aug 2002, Per Einar Ellefsen wrote:
- I originally had Apache::Auth::Authen, ::Authz and ::Access, but Robin
Berjon told me he preferred to have the 4 as top-level namespaces. What do
people think?
I'm in favor of your
The content seems great. But whatever font you've used is rendering skinny
and pixelated and hard to read and makes me want to egt of the site
asap ... why not leave font face undetermined so the font that each has
chosen for his platform is employed?
- nick
Nick
I'm confused. Since when did bloat surpass elegance as a measure of
success in Perl programming?
- nick
Nick Tonkin {|8^)
On Thu, 4 Jul 2002 [EMAIL PROTECTED] wrote:
On Wed, Jul 03, 2002 at 02:41:38PM +0100, Peter Haworth wrote:
On Wed, 3 Jul 2002 11:40:44 +0100
is a strong word! At ValueClick we used thttpd servers to deliver
gif images ... one thttpd could efficiently handle the same number of
requests as several (non-mod_perl) front end reverse proxies ...
- nick
Nick Tonkin {|8^)
This is perl, version 5.005_03 built for i386-freebsd
[...]
nick@world ~perl -MTemplate -e 'print $Template::VERSION,\n'
2.06
- nick
Nick Tonkin {|8^)
cheaper than LocalDirector and others (although we did
move to a high-end Foundry Server Iron system eventually) ... good support
from a small company too.
- nick
Nick Tonkin {|8^)
On Fri, 14 Dec 2001, Perrin Harkins wrote:
I am planning to host an application and its
= '/',
value = ''
);
$cookie-bake;
return $cookie;
}
sub logout_screen {
[ ... ]
}
1;
~~~
Nick Tonkin
On Tue, 27 Nov 2001, Jon Robison wrote:
I have created a login system using the wonderful Ticket system from the
Eagle book. I have modified
Because it does a full text search of all the contents of the DB.
~~~
Nick Tonkin
On Tue, 27 Nov 2001, Robert Landrum wrote:
Does anyone know why search.cpan.org is always the s-l-o-w-e-s-t site
on the internet? I can't believe it always busy. I've had trouble
hitting it at 3
Well, ask Ask if you want the whole truth. But when I saked him that's
what he said. Maybe there's a problem with the architecture and some
pre-indexing is done per session or something suboptimal like that. Ask?
~~~
Nick Tonkin
On Tue, 27 Nov 2001, Robert Landrum wrote:
Sure... When
as the href. You can use
any code you like, including the other example posted here. Just remember
to test whether you already have the window open or not and act
appropriately.
~~~
Nick Tonkin
On Tue, 20 Nov 2001, Ben Demonte wrote:
How to create a browser popup windowhow do I unsubscribe
On Tue, 20 Nov 2001, Rob Bloodgood wrote:
You must include code to deal with the fact that you may have already
opened a popup window. Something like this:
That is simply not true. window.open() with a named window ('popupwin', in
your example) ALWAYS reuses that window, on every
Speaking of the risks of using cookies for auth* stuff:
http://dailynews.yahoo.com/h/cn/2009/tc/microsoft_apologizes_in_security_flap_1.html
~~~
Nick Tonkin
) and use them for versioning.
Rolling back to an earlier version of your data is as simple as creating
a new DB from your table defs, then mysqlbinlog log-file | mysql new-db
See http://www.mysql.com/doc/B/i/Binary_log.html for more info.
~~~
Nick Tonkin
On Thu, 15 Nov 2001, Jonathan M
On Thu, 15 Nov 2001, Stas Bekman wrote:
Antoine Quint wrote:
If you[1] don't like the way the site is now,
don't bitch about it but change it completing the challenge.
Well, I'd be up to having a crack at it... Would you be ok publishing
the site with AxKit? Coding
Er, you might look at http://www.tonkinresolutions.com/MSIISProbes.pm.html
...
Always a good idea to search the mod_perl list archives, as well as put
out ideas in the present tense :)
Nick
~~~
Nick Tonkin
On Mon, 29 Oct 2001, Louis LeBlanc wrote:
On 10/28/01 08:29 PM, Jeremy
Application
Servers ... it seems that you get the same effect but with more
control. Of course, I've had the luxury of afew years' experience; someone
starting out may prefer a canned solution ...
- nick
~~~
Nick Tonkin
On Tue, 16 Oct 2001, Bill Moseley wrote:
I've been looking
On Fri, 28 Sep 2001, Ask Bjoern Hansen wrote:
On Thu, 20 Sep 2001, Mike Schienle wrote:
thanks to patches from Brice D. Ruth and others, a new version of
MSIISProbes.pm is available at
http://www.tonkinresolutions.com/MSIISProbes.pm.tar.gz
Hi all -
Can anyone provide a couple
v1.02 Moved the URL for info for each worm into PerlSetVar in httpd.conf
comments/flames welcome
--nick
~~~
Nick Tonkin
][]
207.212.64.137 [16][]
207.76.239.206 [16][]
207.196.218.5 [16][]
207.137.76.119 [17][]
207.71.228.1[91][274]
~~~
Nick Tonkin
Hi Jan,
I'm afraid that might just gum up the bandwidth even more than these
idiots (and our flame mail to them :) ...
thanks for the support, though!
~~~
Nick Tonkin
On Thu, 20 Sep 2001, Jan Jungnickel wrote:
Hallo,
thanks to patches from Brice D. Ruth and others, a new
/foo.bar?/c+dirstats=Nimda
Just make sure to attache the query string to a URL that will
be caught by your configuration of the module!
Enjoy,
-- nick
~~~
Nick Tonkin
~~~
Nick Tonkin
On Wed, 19 Sep 2001, Lyle Brooks wrote:
One motivation I have is for these virus attacks, I'd like to send out
a 403 - Forbidden right at the beginning (say, when someone asks for
default.ida) and then I'd like to have the option of not logging it to
keep it from growing my logs and
On Wed, 19 Sep 2001, Bruce Albrecht wrote:
I was looking at your Apache::MSIISProbes module, and I didn't
understand the part about the nimda rewrite rules, mostly because I
haven't used the rewrite rules. Do the following rules
RewriteCond %{REQUEST_URI} !nimda
RewriteCond
1 - 100 of 137 matches
Mail list logo