Re: Stacked Handlers Location directive -- inside and outside virtualhost

2003-05-31 Thread Shashank Kailash Shringi
Hi There, I read the following thread (with Geoff's comment in there too): http://www.gossamer-threads.com/archive/mod_perl_C1/docs-dev_F5/a_little_feedback_P38941/ than I thought about Geoff's advice about using PerlAccess Handler and came up with this concoction (which works :-) ) Conf entry: A

Re: Stacked Handlers Location directive -- inside and outside virtualhost

2003-05-31 Thread Shashank Kailash Shringi
I tried that already. When I use PerlAccessHander with Satisfy Any, the webpage is always served even if IP check fails. Interestingley, when IP check fails, it redirects (https url) but never ask for any userid or password and straight away serves the page. -- Shashank On Fri, 30 May 2003, Geoff

Re: Stacked Handlers Location directive -- inside and outside virtualhost

2003-05-31 Thread Geoffrey Young
When http://www.abc.com/~xyz gets called PerlAuthenHandler MyModule is invoked. MyModule code checks for IP after reading a file from xyz directory. If the host ip matches with the one in the file, it returns OK and the PerlAuthzHandler never gets called and the webpage is served to the user. you

Stacked Handlers Location directive -- inside and outside virtualhost

2003-05-31 Thread Shashank Kailash Shringi
I try to do the following: Outside the virtual host (non-ssl) in the location directive, I have the following: AuthName someauth AuthType sometype PerlAuthenHandler MyModule require valid-user When http://www.abc.com/~xyz gets called PerlAuthenHandler MyModule is invoked. MyModule code checks

Re: location directive

2001-11-28 Thread Perrin Harkins
On Tue, 27 Nov 2001, [EMAIL PROTECTED] wrote: > I have put mod_perl handler inside a virtual host section > > then inside the virtualhost section, i also put location > directives to override overall modperl handler in some > situations, with sethandler default-handler. > > for instance > > Ali

location directive

2001-11-27 Thread [EMAIL PROTECTED]
Hi I have put mod_perl handler inside a virtual host section then inside the virtualhost section, i also put location directives to override overall modperl handler in some situations, with sethandler default-handler. for instance Alias /icons/ d:/Apache/icons/ SetHandler default-handler t

Location directive on a network drive

2001-10-01 Thread Dave Hodson
I'm attempting to run some code off a mounted drive on RH Linux 7.1 (Apache 1.3.2, modperl-1.26), but for some reason, my Location directive is ignored (code is executed from the local drive instead)   I'm pointing to /mnt/qa_load_www/cgi-shl, but code is instead executed from /

Re: Location directive not working for mod perl

2000-12-26 Thread Vivek Khera
> "RB" == Rod Butcher <[EMAIL PROTECTED]> writes: RB> I believe you need the trailing / RB> i.e. Alias /perl/ "/home/httpd/perl/" RB> (but why not use Scriptalias ?) Because ScriptAlias makes it use mod_cgi rather than mod_perl. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Re: Location directive not working for mod perl

2000-12-26 Thread Stas Bekman
t;Bill Eberle" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Wednesday, December 27, 2000 12:48 AM > > Subject: Location directive not working for mod perl > > > > > I hope this is the correct mailing list for newbie mod perl questions.

Re: Location directive not working for mod perl

2000-12-26 Thread Bill Eberle
rl. I'll have another look. > > Rod > > - Original Message - > From: "Bill Eberle" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, December 27, 2000 12:48 AM > Subject: Location directive not working for mod perl > >

Re: Location directive not working for mod perl

2000-12-26 Thread Rod Butcher
I believe you need the trailing / i.e. Alias /perl/ "/home/httpd/perl/" (but why not use Scriptalias ?) Rod - Original Message - From: "Bill Eberle" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 27, 2000 12:48 AM Subject: Locati

Location directive not working for mod perl

2000-12-26 Thread Bill Eberle
operations The problem I'm having is that the Location directive does not seem to be working. I have the following in my httpd.conf file: Alias /perl/ "/home/httpd/perl" SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI allow from all Pe

Re: Location Directive Problem

2000-08-18 Thread Tony Whyte
To close loop , I discovered I had redundant directives for /hello/world amongst my various *.conf files. Once I got rid of the extras I was good to go. Thanks for ideas ! Tony Tony Whyte wrote: > Running apache-1.3.11, mod_perl-1.24, irix6.5.5 > > this works: (gets handled by mod_perl) > > >

Re: Location Directive Problem

2000-08-18 Thread Stas Bekman
On Thu, 17 Aug 2000, Tony Whyte wrote: > > Running apache-1.3.11, mod_perl-1.24, irix6.5.5 > > this works: (gets handled by mod_perl) > > > SetHandler perl-script > PerlHandler Apache::Hello > > > this doesnt: > > > SetHandler perl-script > PerlHandler Apache::Hello > > > Tried

Location Directive Problem

2000-08-17 Thread Tony Whyte
Running apache-1.3.11, mod_perl-1.24, irix6.5.5 this works: (gets handled by mod_perl) SetHandler perl-script PerlHandler Apache::Hello this doesnt: SetHandler perl-script PerlHandler Apache::Hello Tried quoting "/hello/world" I still get "File does not exist: /usr/local/apache/