plainblack.com
Username Password
search
Bookmark and Share

    

SSI integration

User hendecasyllabic
Date 12/16/2008 4:34 am
Views 919
Rating 0    Rate [
|
]
Previous · Next
User Message
hendecasyllabic

I have a customer who uses ssi to control templating styles across multiple sites. One site will be controlled through a WebGUI interface.

 

How do I get

<!--#include virtual="/includes/foi/head.ssi" -->

to work in a WebGUI template or is it impossible. And if it is impossible does anyone have ideas of work arounds I can use...

I have made a RewriteRule to allow /includes to go straight thr to modproxy

If I go directly to the links they work. But I need to it work from within a template and I can't work out a way to do it

Chri




--- (Edited on 12/16/2008 4:34 am [GMT-0600] by hendecasyllabic) ---



Back to Top
Rate [
|
]
 
 
preaction

Why not use the WebGUI equivalent of the AssetProxy macro? I am not sure there is any way to do SSI after WebGUI has generated the content (nor any other mod_perl/mod_include mashup)

--- (Edited on 12/16/2008 4:54 am [GMT-0600] by preaction) ---



Back to Top
Rate [
|
]
 
 
preaction

Addendum: Here's a perlmonks article on getting mod_perl and mod_include to work together: http://www.perlmonks.org/?node_id=7011

--- (Edited on 12/16/2008 4:56 am [GMT-0600] by preaction) ---



Back to Top
Rate [
|
]
 
 
knowmad

I've never done this in WebGUI but I've done it with mod_perl so know it is possible. Check out the Apache SSI docs. Also, be aware of the differences between AddOutputFilter and SetOutputFilter. I think you'll want the latter. If you get this working, please document it in the wiki.

 

Good luck,
William

----
Knowmad Technologies
http://www.knowmad.com

--- (Edited on 12/16/2008 7:14 am [GMT-0500] by knowmad) ---



Back to Top
Rate [
|
]
 
 
    



© 2012 Plain Black Corporation | All Rights Reserved