forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


CGI question
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced Help for VDS 5 & Up
View previous topic :: View next topic  
Author Message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Wed Jun 30, 2004 11:43 am    Post subject: Reply with quote

Thanks for the help. After I finally figured out how to run these test exes on my IIS 6 server, I found that it really is a web server issue.

Your scripts do indeed run under IIS 6, without any modification of the EXE header. Using BRS WebWeaver, which I was using to test this locally, the CGI would only work when the VDS EXE header was modified to mark it as a console application.

Incidentally, two other free web servers I tried, RIT Labs Tiny web server and AnalogX SimpleServer don't work with any of the VDS CGI exes, modified or unmodified. So there is obviously more to this that I have yet to discover. I was actually looking into the possibility of developing a utility that could be run on any web server, not just mine.

At least I figured out how to make VDS able to create console applications. Now all we need is a compiler option to set the required bit in the EXE header.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Wed Jun 30, 2004 4:20 pm    Post subject: Reply with quote

jules wrote:
Thanks for the help. After I finally figured out how to run these test exes on my IIS 6 server, I found that it really is a web server issue.

Your scripts do indeed run under IIS 6, without any modification of the EXE header. Using BRS WebWeaver, which I was using to test this locally, the CGI would only work when the VDS EXE header was modified to mark it as a console application.

Incidentally, two other free web servers I tried, RIT Labs Tiny web server and AnalogX SimpleServer don't work with any of the VDS CGI exes, modified or unmodified. So there is obviously more to this that I have yet to discover. I was actually looking into the possibility of developing a utility that could be run on any web server, not just mine.

At least I figured out how to make VDS able to create console applications. Now all we need is a compiler option to set the required bit in the EXE header.


Jules I have built a VDS tool that will compile VDS Exe as console Exes if you want it I will send it to ya. Sorry my website is down right now pending repairs. Please send me a email and I will send the tool to you. Also I have written a DSU for console applications as well if your interested.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Wed Jun 30, 2004 5:47 pm    Post subject: Reply with quote

Thanks. I would be interested to see those.

Actually, I made a version of the VDS IDE that supports creating console applications. Hopefully, CR will agree to release it at some point. If they did, it would probably make sense to incorporate some console I/O commands into the VDS command/function set as well. In the meantime, your DSU would be useful.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Wed Jun 30, 2004 6:40 pm    Post subject: Reply with quote

Jules,
You should have the PM now with everything you asked for. Let me know if you have any questions.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Wed Jun 30, 2004 7:01 pm    Post subject: Reply with quote

Servers I just tested yesterday and previously:

BRS WebWeaver V1.25 on WinME:
All my cgi exe's in VDS 5 worked

Abyss Web Server X1 V1.2.2.2 on WinME:
All my cgi exe's in VDS 5 worked

Xitami V 2.5c1:
All my cgi exe's in VDS 5 worked

OmniHTTPd V1.01:
No cgi exe's in any versinon of VDS would work

OmniHTTPd Professional v2.10:
When it was available, exe's in VDS 4 and below worked.

KF Web Server V2.5.0:
Had problems trying to get VDS 5 exe's working. That, and I just
didn't like this server


Sambar Server:
Used in the past, and had no problems with VDS exe's

I have tried so many others in the past, but do not remember my
results. I just found out yesterday though, that Savant has been
updated by another programmer, so I'll be testing that today.

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Thu Jul 01, 2004 8:11 am    Post subject: Reply with quote

Interesting that BRS WW worked under Win Me. I have never tried any of the others. I'm using Win XP here, so I'm guessing that the OS may have something to do with the problem.

I like RIT Labs Tiny Web Server. It's written in Delphi, and you can download the source code of it.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Thu Jul 01, 2004 8:36 am    Post subject: Reply with quote

Maybe you could try the latest version of the Abyss Web Server (website)? That one works over here without even having to change any settings, etc... Smile
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Thu Jul 01, 2004 9:29 am    Post subject: Reply with quote

I just finished doing that when I read your post. Yes, Abyss works with VDS CGIs under XP, and it's also a much nicer bit of software than BRS WebWeaver, which is just about to get uninstalled.
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Jul 01, 2004 2:50 pm    Post subject: Reply with quote

Garrett's example Guestbook CGI scrips runs fine on my server - though
it is compiled with VDS 4... This probably isn't much help but at least it
shows it runs.

BTW I use Abyss Web Server (that's what this is running on)
I highly recommend this server software as it is safe, stable, fast, and
extemely easy to manage.

http://ffvdsworld.dyndns.org/cgi-bin/vdscgi.exe

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced Help for VDS 5 & Up All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group