You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Struan Donald <st...@365.co.uk> on 2000/11/06 19:19:53 UTC
Using Apache::SSI with redirected includes
essentially is this possible?
The reason is that at the moment i have includes that vary depending
on the subdomain, but the file that includes them remains the same.
e.g:
<!--#include virtual="/dir/inc.html"-->
some content
only if i'm looking at it from here.site.com rather than www.site.com
i want the include to be /dir2/inc.html.
at the moment this is done using rewrites but i want to use handlers
for some sections of the site and while straight includes are fine
rewrites just don't seem to have any effect. do i have to stick some
logic into the intitial handler to rewrite the include before i pass
it to SSI?
thanks
Struan
--
Struan Donald
mailto:struan@365.co.uk
Code Flunky, 365 Plc.
http://www.365corp.com/