perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Förtsch <>
Subject Re: Same script with different locations
Date Sun, 29 May 2011 18:03:38 GMT
On Sunday, May 29, 2011 19:40:59 cfaust-dougot wrote:
> I wanted to know if there was anything wrong with using the same MP2
> content handler with multiple Location directives in apache and using
> $r->location() to determine the script that should be used in forms,
> redirects etc.

Nothing wrong with it. But be careful, the administrator can try to 
configure it like:

  <Location ~ "(something|special)/">


  <LocationMatch ...>

I am not 100% sure but I think $r->location will contain "(something|
special)/" in that case.

Torsten Förtsch

Need professional modperl support? Hire me! (

Like fantasy?

View raw message