Hello,
I've placed the following directives in my httpd.conf file:
RewriteEngine on
RewriteOptions 'inherit'
RewriteCond %{QUERY_STRING} =""
RewriteRule /test/?(.)$ http://adomain.dom/$1?src_domain=%{HTTP_HOST} [P,L]
RewriteRule /test/?(.)$ http://adomain.dom/$1?%{QUERY_STRING}&src_domain=%{HTTP_HOST} [P,L]
That works fine inside a <VirtualHost> block, but not outside, i.e., in a global context. Why is that? The manual says it's supposed to work in a server config context.
Thanks for any help,
Dario