"Why not write in what you are trying to do? We could give you some design pointers. " ... well it is rather complicated, but I will give it a go.
I am working on a Linux webserver used by two groups, group A and group B. They are two separate groups and share no common code up until now. I work for group A, however have complete knowledge of group B's site. Group A has access to the entire Linux server, group B only has limited access (folders within their virtual server).
Group A has some code it wishes to include in group B's web pages (it displays a data-driven calendar), the use of Server Side Includes has achieved this.
The code (written in PERL by group A) is complex (generates dynamic html and javascript files) and secure, and group B should not be able to see or edit the PERL source code.
The server side includes worked fine on groub B's standard .htm files. However, when I tried inserting the same include line on files which had <TMPL> tags (obviously variables generated with the use of HTML::Template by group B's cgi scripts), it failed.
Does that give you a better idea of what I am trying to do? Sorry if it is a little confusing.
I am tring to limit the amount of code mixing between Group A and Group B, but it seems maintaining the simplicity of server side includes when dealing with HTML::Template will be difficult.
|