Hello,
I want to use mod_rewrite to hide the URL, that generates my XML file.
So if this is the requested URL:
http://www.domain.com/path/to/ page ? cid=8001&srt=po
This URL should be executed:
http:// www.xmldomain.com/bla/page ? cid=8001&srt=po &rtype=xslt&xsl=http://www.domain.com/path/to/ page .xsl
http://www.xmldomain.com/bla/$2?$3&rtype=xslt&xsl=http://%{HTTP_HOST}$1$2.xsl*
%{HTTP_HOST}
is www.domain.com
$1
should be /path/to/
(How can I do this?)
$2
should be page
$3
should be cid=8001&srt=po
Thanks!