Go Back   CodingForums.com > :: Server side development > Other server side languages/ issues

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-03-2002, 04:11 PM   PM User | #1
EasilyBefuddled
New to the CF scene

 
Join Date: Jul 2002
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
EasilyBefuddled is an unknown quantity at this point
ssi in pws

I'm trying to generate a hit counter using Server Side Includes on MS Peer Web Services. I've tried several different commands, but the one that should work (and isn't), is:

<!--#exec cgi="../scripts/check.cgi"-->

The file containing this command is C:\inetpub\wwwroot\wonder.stm.

The cgi file is C:\inetpub\scripts\check.cgi.

C:\inetpub\scripts has also been labeled as the virtual directory "\Scripts".

.stm files are currently mapped to C:\winnt\system32\inetsrv\ssinc.dll.

Am I mapped to the wrong .dll? Is my include statement wrong?

Any input would be appreciated. Thank you.

Edit: It is my current understanding that the #exec command is only available for SSI on Windows 2000 or later (IIS and PWS). So as far as my using NT 4 SP 6, it looks like I'll have to find another solution.

Last edited by EasilyBefuddled; 09-06-2002 at 01:46 AM..
EasilyBefuddled is offline   Reply With Quote
Old 01-17-2003, 04:59 AM   PM User | #2
ricardovw
New Coder

 
Join Date: Jan 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
ricardovw is an unknown quantity at this point
i have exactly the same problem
ricardovw is offline   Reply With Quote
Old 01-17-2003, 10:43 AM   PM User | #3
MCookie
Regular Coder

 
Join Date: Jun 2002
Location: NL
Posts: 421
Thanks: 0
Thanked 0 Times in 0 Posts
MCookie is an unknown quantity at this point
Not that I know anything of Win servers and this probably won't help, but there are servers on which SSI doesn't work when there's no space between the double quotes and the second comment tag.
<!--#exec cgi="script.cgi"-->
<!--#exec cgi="script.vgi" --> <<
MCookie is offline   Reply With Quote
Old 01-17-2003, 06:43 PM   PM User | #4
Roy Sinclair
Senior Coder

 
Join Date: Jun 2002
Location: Wichita
Posts: 3,880
Thanks: 0
Thanked 0 Times in 0 Posts
Roy Sinclair will become famous soon enough
By default IIS disables the use of the SSI EXEC command, you have to explicitly enable it. See this article in the MS Knowledgebase.

Is it just me or did a rash of SSI questions just hit the board?
Roy Sinclair is offline   Reply With Quote
Old 01-18-2003, 12:20 PM   PM User | #5
whammy
Senior Coder

 
Join Date: Jun 2002
Location: 41° 8' 52" N -95° 53' 31" W
Posts: 3,660
Thanks: 0
Thanked 0 Times in 0 Posts
whammy is an unknown quantity at this point
It's not you, Roy.
__________________
Former ASP Forum Moderator - I'm back!

If you can teach yourself how to learn, you can learn anything. ;)
whammy is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:33 PM.


Advertisement
Log in to turn off these ads.