Solved

CGI Application error

Posted on 2002-04-27
4
138 Views
Last Modified: 2010-04-04
hi all

I made a simple CGI Application with delphi,
sample.exe

then I upload it to my domain(redhat linux) cgi-bin then I chmod the file to 755 and typed
http://www.mydomain.com/cgi-bin/sample.exe/say

an error page 500 appears with internal server error, I tried the application on another server and it worked good, why it's not working on my domain..?

thanx
0
Comment
Question by:D-Master
  • 2
4 Comments
 
LVL 3

Expert Comment

by:raidos
Comment Utility
a Delphi binary will never work in any linux environment...
only Kylix binaries will work there...

recompile the application with Kylix..

Regards
//raidos
0
 
LVL 3

Author Comment

by:D-Master
Comment Utility
hi raidos

I tried the application on other server with linux too and worked good..

0
 
LVL 3

Author Comment

by:D-Master
Comment Utility
but why it doesn't work on my domain?
0
 
LVL 17

Accepted Solution

by:
inthe earned 50 total points
Comment Utility
hi,

you need a host that supports custom compiled cgi/isapi apps.
the majority of hosts DONT mainly for security reasons as a compiled cgi could have backdoors into the server etc ,it is in a "out of control" state whereas something more commonly supported like a cgi perl script or asp/php etc has to be compiled by the hosting server therefore what it has access too can be controlled .


>>I tried the application on other server with linux too and worked good..

that would have been pure lucky that they support it.
see here for one such host:

http://community.borland.com/article/0,1410,21729,00.html

and also a quick search on google gives a few:

http://www.google.co.uk/search?q=delphi+cgi+web+hosting&hl=en&meta=

0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now