MS Personal Web Server1 - can't get CGI working (Posted by robp)

They have: 850 posts

Joined: Jul 1999

I installed MS Personal Web Server. I am trying to test some CGI scripts on it using SSI. I placed the cgi script in the cgi-bin and put the following in the html
<!--#exec cgi="/cgi-bin/facts.cgi" -->
I also tried
<!--#exec cgi="facts.cgi" -->

but nothing happens? It doesn't even give an error, just nothing displays. I know the script works because someone else tested it for me.

In the documents MS provides, I get a 404 when I try to view documentation on SSI.

If anyone can help, that would be appreciated.

----------
[red][Rob P][/red]
[[email protected]]--[[icq]16560402[/icq]]

They have: 850 posts

Joined: Jul 1999

I didn't get it figured out, but I did switch to OmnicronHTTPd (http://www.omnicron.ab.ca_

I had that server working (CGI and all) for a few days, but for some reason after a few days, I received 404 errors any time I accessed the site. So than I just gave up, told my friend to try the server on his computer.

Thanks for asking how I made out though!

If you want to see what I am trying to do, check
24.226.23.164 . It is up sometimes Smiling (that is just to test the scripts, not the design Smiling

----------
[red][Rob P][/red]
[[email protected]]--[[icq]16560402[/icq]]

They have: 5,633 posts

Joined: Jan 1970

Sorry Rob, I don't think I will be of any help to you... Did you get it figured out yet? I don't have much experience with MS Personal Server nor have I worked with NT (in any way) for a while...

----------
Dynamic Internet Solutions : http://www.dids.com
UNIX and Windows NT Hosting

They have: 2,390 posts

Joined: Nov 1998

Rob, all,

If I were to install the Omnicron server I would be doing so to avoid enormous (UK) phone bills.
Would not having an internet connection for most of the time be a problem while running this server?

Any one got any ideas as to other options?
Thanks!
JP

----------
[red]The Next Step in Website Development [/red] - http://www.what-next.com
The Webmaster Promotion and Resource Center

They have: 5,633 posts

Joined: Jan 1970

Hiya!

You don't need to be connected to the internet while using a web-server. All you have to do is install it, configure and run. Then type the url 'http://localhost' in your browser and there you go! really childeasy Smiling

And just in case you want to test CGIs on your new server, you can find the latest release of Perl at www.activestate.com.

questions == post
later
patrick

They have: 2,390 posts

Joined: Nov 1998

thanks I'll download this server sometime this month then.

Will it run the perl scripts I have on the site straight away or do I have to install something (like PERL Smiling)?
JP

----------
[red]The Next Step in Website Development [/red] - http://www.what-next.com
The Webmaster Promotion and Resource Center

They have: 850 posts

Joined: Jul 1999

Hey JP,
If you want to run perl on the Omnicron Server, you will need to download Perl for Windows (http://www.activestate.com/ActivePerl/

I would encourage you to install it to the default C:\perl. My friend tried putting it in another place on his HD and had a hard time getting the CGI to work on his page.

----------
[red][Rob P][/red]
[[email protected]]--[[icq]16560402[/icq]]

They have: 2,390 posts

Joined: Nov 1998

Cheers all!
JP

----------
[red]The Next Step in Website Development [/red] - http://www.what-next.com
The Webmaster Promotion and Resource Center

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.