Hi, I am writing a perl_mod script for apache that will act as a proxy to
intercept all requests that comes through my proxy. I want to set a cookie
in
the client's browser (to store a session ID) and retrieve it each time the
user make a request to other URL (assuming he has set my proxy
On Wed, May 16, 2001 at 07:13:22AM +0200, Bjoern wrote:
i want to define a global variable which is also present in subroutines
coded in
extra perl modules.
I tried this our $test; but amod_perl tells me following Global
symbol $test requires explicit package name I know, this is a
Hello,
I have the same problem some other modperl-visitors have, namely the error
(48)Address already in use: make_sock: could not bind to port 8093, when
having started a long running external program and stopping and starting the
webserver. I have read the Performance Tuning-article on
On Wed, 16 May 2001, Niels van Tongeren wrote:
Hello,
I have the same problem some other modperl-visitors have, namely the error
(48)Address already in use: make_sock: could not bind to port 8093, when
having started a long running external program and stopping and starting the
webserver.
Mike Cameron [EMAIL PROTECTED] writes:
Is it possible to have the same PerlAuthzHandler use different require's
on a subdirectory once a user has been authorized for a parent
directory? Here is what i would like to be acle to do:
Location /
SetHandler perl-script
AuthType MyAuth
On 16 May 2001, Chris Strom wrote:
Mike Cameron [EMAIL PROTECTED] writes:
Is it possible to have the same PerlAuthzHandler use different require's
on a subdirectory once a user has been authorized for a parent
directory? Here is what i would like to be acle to do:
Location /
I got it working alright with the Directory directive as follows
Directory /home/user/html/
SetHandler perl-script
AuthType Consignline
AuthName NONE
PerlAuthenHandler Consignline::Shop::User
PerlAuthzHandler Consignline::Shop::User-authorize
require valid-user
sterling [EMAIL PROTECTED] writes:
On 16 May 2001, Chris Strom wrote:
Mike Cameron [EMAIL PROTECTED] writes:
Is it possible to have the same PerlAuthzHandler use different require's
on a subdirectory once a user has been authorized for a parent
directory? Here is what i
I'm getting a rather odd situation on one of our boxes:
spec
Sun OS 5.6/solaris2.6
Apache 1.3.11
mod_perl 1.2.1
We've got a sitation where mod_perl intensive pages seem to severely knock
our idle time - which in it self probably isn't bad, however is it also
reflected by noticable latency
Hi,
Server info :
1. IIS websever with sevexec engine
or
2. Tomcat , apache combination
The network connection was lost during uploading a file of size more
than 64 kb and trying to redirect or forward without reading the data in
the Http request (multipart form / post data).
The fix i
JS == John Saylor [EMAIL PROTECTED] writes:
JS consists of handlers and aliases. And the authentication handler isn't
JS working with location directives.
JS location /foo*
JS AuthNamefoo control
JS AuthTypeBasic
JS PerlAuthenHandlerApache::OK
I don't think location takes a
MC == Mike Cameron [EMAIL PROTECTED] writes:
MC package My::Main;
MC sub handler{
MC my $r = new Apache::Request(shift);
MC my $var = $r-pnotes(MY_HANDLER);
MC $r-log_error(This is var $var-[0]);
MC }
Try this:
my $var = ($r-prev || $r)-pnotes(MY_HANDLER);
You might be getting called
On Wed, May 16, 2001 at 12:07:28PM -0400, Vivek Khera wrote:
I don't think location takes a glob pattern.
A nit: it can. Directory, Location and File can all take
shell-like globs using ?, *, and []/[!...]/[^...] operators, looks like.
No equivalent to {a,b,c} alternation, AFAICS.
- Barrie
Thank you very much Vivek. That was exactly what was happening. I did
manage to figure it out eventually. Thanks for your help.
Mike
Vivek Khera wrote:
MC == Mike Cameron [EMAIL PROTECTED] writes:
MC package My::Main;
MC sub handler{
MC my $r = new Apache::Request(shift);
MC my
Hi,
I'm using mod_perl without the registry, because it seems a bit faster
and, well, more elegant. This means, in essence, that the configuration
is:
PerlInitHandler Apache::StatINC
PerlSetEnv PERL5LIB /home/burkhold/perl/local/share/perl/5.6.0
Location /burkhold/foo
SetHandler
Whoops. Pilot error. Cancel that. Sorry.
//Thomas
Thomas K. Burkholder wrote:
Hi,
I'm using mod_perl without the registry, because it seems a bit faster
and, well, more elegant. This means, in essence, that the configuration
is:
PerlInitHandler Apache::StatINC
PerlSetEnv PERL5LIB
Im running Apache 1.3.12 + mod_perl 1.25
I'm looking to fully optimized my mod_perl scripts and in
the process I'm finding that I can't totaly seperate my
virtual hosts. I'm finding that sub procedure that are in
modules that I write will get redefined across vhosts.
I did extensive research on
Hi,
I've just joined the list looking for an answer to this. A couple of
others have posted the same problem but I couldn't find any answers.
I'm running RH6.2 with standard Apache, perl and mod_perl rpms. I'm
hitting a brick wall if I include a 'PerlModule Apache::DBI' line in
On Wed, May 16, 2001 at 01:39:45PM -0400, barries wrote:
On Wed, May 16, 2001 at 12:07:28PM -0400, Vivek Khera wrote:
I don't think location takes a glob pattern.
A nit: it can. Directory, Location and File can all take
shell-like globs using ?, *, and []/[!...]/[^...] operators, looks
Hi,
If a script using DB_File::Lock is interrupted by the STOP button, the file
will be appropriately unlocked.
When using DB_File::Lock, there really is no critical section for making
sure that the lock will be released appropriately. If a fatal exception
happens while the database is open,
Hi .
Hmm since i cannot get the cookie set by another URLDo you have any
other suggestions for my problem.
Current, i intend to pass the session id via the url.
But the problem is let say first time i pass a url
http://www.nus.edu.sg?sessionid=eeddffg
i could get the sessionid from my mod
21 matches
Mail list logo