2

Has anyone worked with Apache server-side insertions? I can see how they would be useful for a project site after reading about them on Stack Overflow but I couldn't work out how to get them to work for me.

Comments
  • 1
    You mean server side includes?
    I've done few sites with those.
    Eventually tripped on it's limitations, replaced them with a modperl handler so I could extend the markup and remove the logic from the content.
  • 0
    Is Apache web server still being used? What year is this?
  • 1
    @nbamaral yes, those. Sorry, poor terminology betraying my ignorance. 😛
  • 0
    @wiredgecko
    Well I thought it was something new.
    It isn't hard, the include module must be loaded, the +Includes option must be set for the location/directory and you must specify what extension is parsed.
    I'm curious about what you want to achieve, it's very limited, vars, if/else, exec and file content, php is a little more flexible and isn't much slower nowadays.
  • 1
    I'm looking for ways to emulate the PHP `include` capability in HTML-based sites so I can dynamically import common HTML elements into my pages.
Add Comment