<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[rewrite e proxyreverse]]></title><description><![CDATA[<p dir="auto">Ciao a tutti, ho un problema che non riesco a risolvere e che magari per qualcuno sarà banale. Semplicemente ho bisogno di un proxy su localhost ad una porta che ricavo da un url, es:</p>
<pre><code>RewriteEngine on
RewriteLogLevel 3
RewriteLog /var/www/dynng/rewrite.log
RewriteRule  ^/dynng/ajaxterm/([^/.]+)$ h ttp://localhost:$1  [P]
</code></pre>
<p dir="auto">chiamando l'url h ttp://host/dynng/ajaxterm/8022 riesco così a fare un proxy verso  h ttp://localhost:8022 (verificato tramite i log rewrite) ma si comporta come se mancasse un proxyreverse ed ottengo pagina bianca.<br />
Qualcuno saprebbe indicarmi un modo per ottenere ciò che mi serve?<br />
Grazie</p>
]]></description><link>https://dev.connect.gt/topic/150954/rewrite-e-proxyreverse</link><generator>RSS for Node</generator><lastBuildDate>Sun, 29 Nov 2026 05:20:29 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/150954.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 04 May 2011 18:18:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to rewrite e proxyreverse on Tue, 10 May 2011 08:47:00 GMT]]></title><description><![CDATA[<p dir="auto">Allora aggiungi anche questa regola:</p>
<pre><code>RewriteRule  ^/dynng/ajaxterm/(.*).css$ h ttp://localhost:$1.css  [R=301,P]
</code></pre>
]]></description><link>https://dev.connect.gt/post/1003081</link><guid isPermaLink="true">https://dev.connect.gt/post/1003081</guid><dc:creator><![CDATA[ayrton2001]]></dc:creator><pubDate>Tue, 10 May 2011 08:47:00 GMT</pubDate></item><item><title><![CDATA[Reply to rewrite e proxyreverse on Mon, 09 May 2011 11:12:48 GMT]]></title><description><![CDATA[<p dir="auto">Penso di aver capito quale sia il problema. Posto uno stralcio del log</p>
<pre><code>(2) init rewrite engine with requested uri /dynng/ajaxterm/8001
(3) applying pattern '^/dynng/ajaxterm/([^/.]+)$' to uri '/dynng/ajaxterm/8001'
(2) rewrite '/dynng/ajaxterm/8001' -&gt; 'htt p://localhost:8001'
(2) forcing proxy-throughput with h ttp://localhost:8001
(1) go-ahead with proxy request proxy:ht tp://localhost:8001 [OK]
(2) init rewrite engine with requested uri /dynng/ajaxterm/ajaxterm.css
(3) applying pattern '^/dynng/ajaxterm/([^/.]+)$' to uri '/dynng/ajaxterm/ajaxterm.css'
(1) pass through /dynng/ajaxterm/ajaxterm.css
</code></pre>
<p dir="auto">Apache fa un pass through delle altre risorse mentre io vorrei che /dynng/ajaxterm/ajaxterm.css fosse mappato su h ttp://localhost:8001/ajaxterm.css<br />
Grazie per l'interessamento</p>
<p dir="auto">Daniele</p>
]]></description><link>https://dev.connect.gt/post/1003097</link><guid isPermaLink="true">https://dev.connect.gt/post/1003097</guid><dc:creator><![CDATA[settholo]]></dc:creator><pubDate>Mon, 09 May 2011 11:12:48 GMT</pubDate></item><item><title><![CDATA[Reply to rewrite e proxyreverse on Mon, 09 May 2011 10:14:58 GMT]]></title><description><![CDATA[<p dir="auto">Ciao settholo e Benvenuto nel Forum GT,<br />
non riesco a capire bene il problema.<br />
Hai provato a fare un redirect 301?</p>
<pre><code>RewriteEngine on
RewriteLogLevel 3
RewriteLog /var/www/dynng/rewrite.log
RewriteRule  ^/dynng/ajaxterm/([^/.]+)$ h ttp://localhost:$1  [R=301,P]
</code></pre>
]]></description><link>https://dev.connect.gt/post/1003080</link><guid isPermaLink="true">https://dev.connect.gt/post/1003080</guid><dc:creator><![CDATA[ayrton2001]]></dc:creator><pubDate>Mon, 09 May 2011 10:14:58 GMT</pubDate></item><item><title><![CDATA[Reply to rewrite e proxyreverse on Wed, 04 May 2011 18:20:23 GMT]]></title><description><![CDATA[<p dir="auto">"http" è scritto "h ttp" perchè il forum non me lo faceva pubblicare pensando ad un link esterno...</p>
]]></description><link>https://dev.connect.gt/post/1003092</link><guid isPermaLink="true">https://dev.connect.gt/post/1003092</guid><dc:creator><![CDATA[settholo]]></dc:creator><pubDate>Wed, 04 May 2011 18:20:23 GMT</pubDate></item></channel></rss>