httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rasconi Luca (u.e.)" <luca.rasc...@guest.matrix.it>
Subject [users@httpd] RE: include virtual --> proxypass: encoded page
Date Mon, 14 Feb 2011 12:06:18 GMT
Sorry for the insistence, but I'm becoming crazy...

I've a page, container.html like this:
<body>
<include virtual="/_includes/header.html">
This is the body!
</body>

My apache conf has this rules
RewriteRule /_includes/header\.html   http://partner.server.com/_template/fornitori/header.shtml
[P]

If I call, from a browser, http://myhost.com/_includes/header.html I see the html nicely
If I call container.html I see the element of the page relative to include, something like
encoded or uncompressed.

I realize there is something having to do with mod_include and mod_deflate but I can't control
it.
I know when apache resolves include within the container page it doesn't decode/uncompress
the response. Why?

Please tell if I've been understandable
Thank you a lot.
Luca



From: Rasconi Luca (u.e.) [mailto:luca.rasconi@guest.matrix.it]
Sent: lunedì 7 febbraio 2011 17.55
To: users@httpd.apache.org
Subject: [users@httpd] include virtual --> proxypass: encoded page

Hi all,
I made a RewriteRule to map a remote content to my local server.

RewriteRule /local_path/local_file.html http://remote.server.it/remote_path/remote_file.shtml
[P]

OK, ...  if I get (from a browser) http://local.server.it/local_path/local_file.html I see
a normal html page.
Seems all to be ok... let's go on...

No!, ... ,in fact I've a local file with a include virtual directive, named a.html like this
<html>
<body>
<!--#include virtual="/local_path/local_file.html "-->
my local file!!!
</body>
</html>

If I try to get http://local.server.it /path_to_file/a.html, I see strange symbols before
"my local file!!!"

I would like to see a.html as a normal html file, but I can't.

Somebody can help me?
I saw bug id 17629, but I don't know if this has to do with it.

Thank you
Luca

________________________________
Le informazioni contenute nella presente e-mail potrebbero essere confidenziali e sono dirette
unicamente ai destinatari sopra indicati. In caso di ricezione da parte di persona diversa
è vietato qualunque tipo di distribuzione o copia. Chi riceva questo messaggio per errore
è pregato di inoltrarlo al mittente e di distruggere questa e-mail.

This e-mail may contain confidential information and is intended only for the use of the addressee(s)
named above. If the reader of this message is not the intended recipient of this message,
please note that distribution or copying of this communication is forbidden. Anyone who receives
this communication in error should return it immediately to the sender and destroy the message.

________________________________
Le informazioni contenute nella presente e-mail potrebbero essere confidenziali e sono dirette
unicamente ai destinatari sopra indicati. In caso di ricezione da parte di persona diversa
è vietato qualunque tipo di distribuzione o copia. Chi riceva questo messaggio per errore
è pregato di inoltrarlo al mittente e di distruggere questa e-mail.

This e-mail may contain confidential information and is intended only for the use of the addressee(s)
named above. If the reader of this message is not the intended recipient of this message,
please note that distribution or copying of this communication is forbidden. Anyone who receives
this communication in error should return it immediately to the sender and destroy the message.

Mime
View raw message