Solved

CGI Application error

Posted on 2002-04-27
4
144 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 3

Expert Comment

by:raidos
ID: 6974236
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
ID: 6974248
hi raidos

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

0
 
LVL 3

Author Comment

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

Accepted Solution

by:
inthe earned 50 total points
ID: 6974291
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

687 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