<%Option Explicit%> <% ' '============================================================ 'This is a replacement of s\default.asp file 'More explanationas are in default.asp. 'This page sets four important parameters: ' two for path and ' two for security ' '------------------------------------------------------------ ' for path: '- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ' take schema from the same folder ' where file called from Web is located: dim path_to_web_sml_engine path_to_web_sml_engine = "." ' '- - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - ' take file_to_read - as the same file ' as requested from web dim file_to_read file_to_read = request.ServerVariables("PATH_INFO") file_to_read = mid(file_to_read,instrrev(file_to_read,"/")+1) '------------------------------------------------------------ ' '------------------------------------------------------------ ' for security dim save_result_file save_result_file = false '"false" adds security; ' dim proceed_result_file proceed_result_file = false 'false adds security '============================================================ ' ' 'add the rest of sml-engine: %> <!--#include file="../s/include_core.inc"--> <!--#include file="../s/manage_core.inc"--> <% response.end %>