Hello. My webserver uses a second server (non-apache) to deliver certain content, say xml files. This server runs on the same machine, on a different port. In my httpd.conf I have the following line RewriteRule ^(.*\.xml)$ http://localhost:8000/$1 [P] which, indeed, successfully lets the second server take care of the delivery of xml files. Now from what I understand from the mod_perl documentation, the rewriting of URLs takes place before any authentication/authorization. However, if I block access to certain URLs -either via a mod_perl module or via 'Deny from all'- access is denied and the second server is never reached. This is in fact what I want, but I'd like to understand why this is happening, as I think it's contradicting the documentation. Does anyone have any clues? Furthermore, I have a few simple questions about Redirect and RedirectMatch: - is it true that RedirectMatch is exactly the same as RewriteRule with the [R] flag? - if I use [R] flags, are the rules still applied top-down? - is there any need for [L,R] flag? I would think that R forces the whole mod_rewrite-process to start again, with a new URL so it could not be anything but the last rule that is applied. Thanks. Martijn. PS In case that makes a difference, I am using Apache 2.0.52. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx