XSLTSetStylesheet not working with apache 2 configured as a reverse proxy Adam Souzis
From : Adam Souzis <adamsz@xxxxxxxxx>
To : users@xxxxxxxxxxxxxxxx
Subject : XSLTSetStylesheet not working with apache 2 configured as a reverse proxy
Date : Fri, 12 Nov 2004 01:03:25 -0800
Domainkey-signature : a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=eTDVlfwuh0gGj4WgXq11mu4m9rn6DjodoZYwnhpnj5O4a0bnrTHhsJrVjTaNFwpOTWCWaHJoUPHlL2A0TxNqeH2K//RL4Zjvx9SrbrWAn7gv0be4nZwFOmiuS6gTslMXbgLZrEXkAgNYa4r0HOB/DuFRme1vc/L2IEhAAISnap8=
Reply-to : Adam Souzis <adamsz@xxxxxxxxx>
hi,
A follow up to the my previous email: After trying many permutations,
I can't get XSLTSetStylesheet (not to mention XSLTAddRule) to work
when running as a reverse proxy server. (I need to transform XML being
served by another web server) In every case I keep getting "no
<?xml-style... found in proxy:http://www..." ; written into error.log
Here's relevant section of apache'.conf after my last attempt:
ProxyRequests Off
XSLTSetStylesheet text/xml file:///var/www/localhost/htdocs/default.xsl
XSLTSetStylesheet application/xml file:///var/www/localhost/htdocs/default.xsl
<Location /xml>
XSLTSetStylesheet text/xml file:///var/www/localhost/htdocs/default.xsl
XSLTSetStylesheet application/xml file:///var/www/localhost/htdocs/default.xsl
</Location>
<Proxy *>
Order deny,allow
Allow from all
SetOutputFilter mod-xslt
XSLTSetStylesheet text/xml file:///var/www/localhost/htdocs/default.xsl
XSLTSetStylesheet application/xml file:///var/www/localhost/htdocs/default.xsl
</Proxy>
ProxyPass /xml http://www.liminalzone.org/xml
ProxyPassReverse /xml http://www.liminalzone.org/xml
thanks again,
adam