On Monday, March 14, 2011 19:14:35 a.sm...@ukgrid.net wrote:
> if I have other blocks, will setting as you suggest
> override all of them? That would break other parts of the httpd
> virtual host on my config...
no, Location blocks are evaluated *after* a PerlMapToStorageHandler. You can
als
Quoting Torsten Förtsch :
A PerlMapToStorageHandler inside a Location block doesn't make sense.
See
http://perl.apache.org/docs/2.0/user/config/config.html#mod_perl_Directives_Argument_Types_and_Allowed_Location
BTW, it should read
use Apache2::Const -compile=>'DECLINED';
Hi,
so, if
On Monday, March 14, 2011 18:45:39 a.sm...@ukgrid.net wrote:
> Quoting Torsten Förtsch :
> > or instead of the Location block:
> >
> > PerlMapToStorageHandler "sub {\
> >
> > use Apache2::Const -compile=>DECLINED; \
> > use Apache2::RequestRec ();
Quoting Torsten Förtsch :
or instead of the Location block:
PerlMapToStorageHandler "sub {\
use Apache2::Const -compile=>DECLINED; \
use Apache2::RequestRec (); \
use Apache2::RequestUtil ();\
unless( $_[0]->uri eq '/r
On Monday, March 14, 2011 14:53:35 André Warnier wrote:
> > I'd like to have a robots.txt on a site that has the following apache
> >
> > httpd config:
> >
> >
> > SetHandler perl-script
> > PerlHandler RT::Mason
> >
> >
> >
> > But if I install a robots.txt to the DocumentRo
> a.sm...@ukgrid.net wrote:
> > Hi,
> >
> > I'd like to have a robots.txt on a site that has the following apache
> > httpd config:
> >
> >
> > SetHandler perl-script
> > PerlHandler RT::Mason
> >
> >
> > But if I install a robots.txt to the DocumentRoot and test it via wget
a.sm...@ukgrid.net wrote:
Hi,
I'd like to have a robots.txt on a site that has the following apache
httpd config:
SetHandler perl-script
PerlHandler RT::Mason
But if I install a robots.txt to the DocumentRoot and test it via wget I
just download the front page of the sit
Hi,
I'd like to have a robots.txt on a site that has the following
apache httpd config:
SetHandler perl-script
PerlHandler RT::Mason
But if I install a robots.txt to the DocumentRoot and test it via wget
I just download the front page of the site, as its handled by
pe