Solved

CGI Application error

Posted on 2002-04-27
4
142 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
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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
error 1.1 400 Bad request idhttp delphi 18 147
Intraweb download file link ? 1 154
Dynamically Created Query 3 62
Twebbrowser add css to the header 3 27
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…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

839 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