httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Duncan Brannen <...@st-andrews.ac.uk>
Subject [users@httpd] Apache 2.0.52 SSI include of Mod_Rewrite proxied page
Date Fri, 03 Dec 2004 13:11:30 GMT

Hi All,
	In Apache 1.3  I could have a .shtml page that did

eg.

<!--#include virtual="/news/headlines.html" -->

and a rewite rule on the server

RewriteRule ^/news/(.*)$ http://server2/news/$1 [proxy]

Which would include the file headlines.html from server2.

In Apache2, the server looks for the file locally, ignoring the
ReWrite rule and giving an error, though manually loading

http://server1/news/headlines.html  correctly shows the page
from server2.


Is there a way to make Apache2 behave as Apache 1.3 did or do
I have to roll back to Apache 1.3 again?


Cheers,
	Duncan


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message