mod_rewrite RewriteRule is not working
- by buggy1985
Hi,
This is a follow-up of this question: Rewrite URL - how to get the hostname and the path?
I got this Rewrite Rule:
RewriteEngine On
RewriteRule ^(http://[-A-Za-z0-9+&@#/%=~_|!:,.;]*)/([-A-Za-z0-9+&@#/%=~_|!:,.;]*)\?([A-Za-z0-9+&@#/%=~_|!:,.;]*)$ http://http://www.xmldomain.com/bla/$2?$3&rtype=xslt&xsl=$1/$2.xsl
it seems to be correct, and exactly what I need. But it doesn't work on my server. I get a 404 page not found error.
mod_rewrite is enabled, as the following simple rule is working fine:
RewriteEngine On
RewriteRule ^page/([^/\.]+)/?$ index.php?page=$1 [L]
Can you help?
Thanks