The reason the tmpl parameter was removed was because it was 
a potential security risk.

There are several ways to make what you want happen.

The first indeed is to write a wrapper script which sets the 
ASPSEEK_TEMPLATE. I've never needed something like this, so i'm
not really sure how well it'd work and it might get messy on 
following pages and more-results links.

Another way is to make s.cgi output an xml file, which you can
then process using a home-spun xml parser or expat or something,
and use that output as a basis to write your output.

Third way could be using apaches mod_rewrite, but might be
more complex than previous ways. Though less elegant to create,
it looks really cool and can save you a hassle when you're
adding servers.

Take a look at http://httpd.apache.org/docs/mod/mod_rewrite.html#RewriteCon d
http://httpd.apache.org/docs/mod/mod_rewrite.html#RewriteMap 
and
http://httpd.apache.org/docs/mod/mod_rewrite.html#RewriteRul e

when you combine this on a 404 page with a script that will 
automatically create a new s.cgi (with another name) and a new 
s.htm (same name as the newly created s.cgi) when an unknow form
is found you have a nice solution.

The third one came to mind when i was writing this... as soon as
i have some free time i'll try to build it myself.. could be a
very nice solution.

Hth,
Sander

Reply via email to