|
|
|
|
With mod-proxy Pietro Mascagni
|
|
From: "Pietro Mascagni" <pietromas@xxxxxxxxx>
To: users@xxxxxxxxxxxxxxxx
Subject: With mod-proxy
Date: Tue, 24 Jun 2008 17:04:43 +0100
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=YmGE0koSccorK+LBxP/8I1cqnpDpi0yUermabd6bGo0=; b=TCA48+XGljfUNAPnYmYkO+2X+S2POF8hz1f4qkY4gLwcHqYrQzAQARwFOrQtkUA3Jl PGfVmQ92UxoujFdAfAy9YB8sSChhjok/19d6LybKtysYpf4hh8CiXgkAeEW8sHhenD47 n+CSfzf30UU8gZkHky7WJgPQxSE8MlroD+MEM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=eqUZVhZNWCygdmkkzndhblwGuiZin2cYjrLAjfjPfhjEIjM+FNwL0z6kmxXdY/pN6h wUTybFQs1xgN8X9bmfpjjgzE0Jvna8Jx+/sQGQs/ZO339a4wXRFag2iNPXcj9kC2eRx6 dH///Q7sNLCXM+kktKVOTiHorajAOFkGKoyfI=
I'm looking for a means to XSLT a page I am getting via mod-proxy. Am
hoping mod-xslt is the tool for the job.
My virtual host config is below. Below that you'll see the error I get
whenever I try visit a page through the proxy.
Can anyone help me set this up. Thanks.
Listen 4000
<VirtualHost *:4000>
ServerName localhost
DocumentRoot /var/www/test/public
<proxy>
Order deny,allow
Allow from all
SetOutputFilter mod-xslt
XSLTSetStylesheet text/html /var/www/test/public/tripadvisor.xsl
</proxy>
ProxyPass /test/ http://www.tripadvisor.com/
<Location /test/>
ProxyPassReverse /
</Location>
</VirtualHost>
[Tue Jun 24 16:49:12 2008] [error] [client 127.0.0.1] mod_xslt:
proxy:http://www.tripadvisorcom/:1:
[Tue Jun 24 16:49:12 2008] [error] [client 127.0.0.1] mod_xslt: parser
[Tue Jun 24 16:49:12 2008] [error] [client 127.0.0.1] mod_xslt: error :
[Tue Jun 24 16:49:12 2008] [error] [client 127.0.0.1] mod_xslt: Start
tag expected, '<' not found
[Tue Jun 24 16:49:12 2008] [error] [client 127.0.0.1] mod_xslt: \x1f\x8b\b
[Tue Jun 24 16:49:12 2008] [error] [client 127.0.0.1] mod_xslt: ^
[Tue Jun 24 16:49:12 2008] [error] [client 127.0.0.1] mod_xslt: fatal
- failed loading file: proxy:http://www.tripadvisor.com
| |
|