[EMAIL PROTECTED] writes.. >I been searching on google for a long time now and tried just >about every method suggested and I could not get SSI to show >up right in my .shtml files.
Everything you need to know about SSI on IIS is covered in the included IIS documentation, which unless you've messed with something (or chose not to install the documentation when you set IIS up) is available on the IIS server as: http://localhost/iishelp/ >I am trying to use the virtual= method and link it to my script in the >same directory. What happened was that the whole script source code was >showing in my page instead of any output. You cannot use virtual to include the results of a CGI script, virtual will only include the literal contents of the script file, as you're experiencing. >I am using a simple script to show a text clock. I tried adding .ssi >as an extension and have it associated with C:\Perl\bin\perl.exe %s >%s and linked it by exec cgi=, it's just not working. I installed >CGI-SSI_Parser for Perl from active state's ppm and it does not make a >difference. A regular .pl script linked directly in the URL shows up >fine. Only one of the above things is required. Just put the program file in the normal .pl extension file. You will need to either put it in a CGI-BIN directory (normally the /scripts virtual directory in IIS parlance) or ensure that the "Execute Permissions" for the directory that the file is in is set to either "Scripts only" or "Scripts and Executables" - you will find that setting in the IIS MMC management screen, on the Properties dialogue for the directory in question. NB: all that is probably already done because you say that a regular .pl scripts shows up fine. Then your SSI string becomes: <!-- #exec cgi=/scripts/script_name.pl --> >It's just SSI is not working right for me. IIS is doing precisely what you're telling it to do :) -- Jason King _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs