httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Bray" <nood...@gmail.com>
Subject Mapping requests to handler without rewrite
Date Thu, 09 Aug 2007 15:20:47 GMT
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?

-- 
noodl

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message