Provided that the script you are executing is correctly working the only reason the server will not serve an SSI page correctly is because the page does not have the proper (.shtml) extension.