I try to do the following:
Outside the virtual host (non-ssl) in the location directive, I have the
following:
Location /~xyz
AuthName someauth
AuthType sometype
PerlAuthenHandler MyModule
require valid-user
/Location
When http://www.abc.com/~xyz gets called PerlAuthenHandler MyModule is
invoked
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
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,
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:
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
Alias
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/
location /icons/
SetHandler
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 /apache/cgi
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"
Location /perl
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
allo
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: Location directive
other 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
I hope this is the correct mailing list for newbie mod perl questions.
I
referrable to ScriptAlias for mod_perl. I'll have another look.
http://perl.apache.org/guide/config.html#Alias_Configurations
Rod
- Original Message -
From: "Bill Eberle" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 27, 2000 12:48 AM
Subject
"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.
--
To close loop , I discovered I had redundant Location 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)
Running apache-1.3.11, mod_perl-1.24, irix6.5.5
this works: (gets handled by mod_perl)
Location /hello-world
SetHandler perl-script
PerlHandler Apache::Hello
/Location
this doesnt:
Location /hello/world
SetHandler perl-script
PerlHandler Apache::Hello
/Location
Tried quoting
14 matches
Mail list logo