I don't find anything convenient. I'll stay with the rewrite rules (no SVNMasterURI directive).Actually SVNMasterURI is a proxy directive, it is just a little cleaner but not enough flexible for my use.
Thanks for your help anyway ! Le 30/07/2010 12:30, Florian S. a écrit :
Am Freitag, den 30.07.2010, 11:59 +0200 schrieb Bastien Semene:Hi, I'm wondering if it is possible to get the string that matched a LocationMatch regexp ? My problem is that when a LocationMatch matches, I wish to apply a directive related to that request. In my case, if we admit that we can get the string like a rewrite rule, I wish : <LocationMatch ^/sync/?(.*)> ... SVNMasterURI http://domain.com/$1 ... </Location> Does someone have any experience with this kind of situation ? The documentation says nothing about getting back the string, so I have little hope but maybe there's a workaround I don't know ?Hi, I would use SetEnvIf in addition: SetEnvIf Request_URI "^/sync/?(.*)" mysubpath=$1 (Syntax not tested) or something similar to get the path into a environment variable. Using a RewriteRule/RewriteCond may be appropriate in your case, too (especially with the E-Flag?) Hope that helps: Florian --------------------------------------------------------------------- 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
-- Bastien Semene Administrateur Réseau& Système Cyanide Studio - FRANCE --------------------------------------------------------------------- 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