Re: Disallow path info

2015-03-24 Thread André Warnier
Phillip Hellewell wrote: On Tue, Mar 24, 2015 at 3:44 AM, André Warnier wrote: You know, I am slowly getting the feeling that by dicing and slicing the URLs and fixing up things afterward, you are setting yourself up for some major headeaches later on, when something changes and/or someone need

Re: Disallow path info

2015-03-24 Thread Phillip Hellewell
On Tue, Mar 24, 2015 at 9:29 AM, Szekeres Jr., Edward wrote: > I am not sure why something as simple as this would be considered "dicing > and slicing", simply blocks any requests with "path[any character]info" in > them > > RewriteEngine On > RewriteCond %{REQUEST_URI} ^.*(path.info).*

Re: Disallow path info

2015-03-24 Thread Phillip Hellewell
On Tue, Mar 24, 2015 at 3:44 AM, André Warnier wrote: > You know, I am slowly getting the feeling that by dicing and slicing the > URLs and fixing up things afterward, you are setting yourself up for some > major headeaches later on, when something changes and/or someone needs to > figure out what

Re: Disallow path info

2015-03-24 Thread André Warnier
Phillip Hellewell wrote: Good news. I got a helpful tip from a Dr James Smith to use a PerlFixupHandler that looks like this: package My::Fixup; use strict; use warnings; use utf8; use Apache2::Const qw(OK NOT_FOUND); sub handler { my $r = shift; return NOT_FOUND if $r->path_info; retu