Forum Moderators: open

Message Too Old, No Replies

How to get SSI include virtual to work

on an NT4/IIS4 webserver?

         

spud01

11:20 am on Sep 12, 2003 (gmt 0)

10+ Year Member



I have the following problem, when ever I try to call a script like this:
<!--#include virtual="/CGI-BIN/ssitest.pl" -->

All the code is spilled over the page.

On the other hand if I call the script like this:
<!--#exec cgi="/CGI-BIN/ssitest.pl" --> the script works on the page, but the variables are stuck to the page.htm
i.e.: script.cgi?=variable --> becomes page.htm?=variable.

This happen on the exec cgi scenario.

Any clues how I can get both processe to work corrctly for me on the webserver?

much appreciated.

Staffa

7:43 pm on Sep 15, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not quite sure what you are trying to do.
What would be the purpose of including a *.pl file into an html file?

You are on a NT server, why would you prefer to use perl rather than asp?

If you could give some more information perhaps we could help you better.

spud01

7:46 pm on Sep 15, 2003 (gmt 0)

10+ Year Member



I think u can agree with me that Perlscript are alot more abundent that ASP scripts.

Dreamquick

8:03 pm on Sep 15, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think u can agree with me that Perlscript are alot more abundent that ASP scripts.

Depends what you're trying to do... if you're running IIS I think you'll find that ASP / ASP.net is usually supported by default and has been around long enough to generate quite a good online code library for all but the most advanced of needs.

- Tony