On 8/9/07, Vincent Bray <[EMAIL PROTECTED]> wrote: > Hi, > > I wrote http://wiki.apache.org/httpd/RewriteVirtualHandler with the > intention of answering common questions that are typically answered > with mod_rewrite solutions, without needing mod_rewrite. The two > examples using Action: > > <Location /> > Action foo-action /script.php virtual > SetHandler foo-action > </Location> > > .. and .. > > <Location /> > Action foo-action /script.php > SetHandler foo-action > </Location> > > .. both loop. I've tried using <LocationMatch (?!script.php)> to avoid > the loop, as LocationMatch doesn't support negation (as far as I can > tell), but that doesn't stop it. > > Can anyone see a way for me to have my cake and eat it? Or shall I > just replace those examples with RewriteRules?
You might try <Location /script.php> SetHandler php-script </Location> either before or after the existing <LocationMatch>. But that is just a guess. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
