• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 147
  • Last Modified:

CGI Application error

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
D-Master
Asked:
D-Master
  • 2
1 Solution
 
raidosCommented:
a Delphi binary will never work in any linux environment...
only Kylix binaries will work there...

recompile the application with Kylix..

Regards
//raidos
0
 
D-MasterAuthor Commented:
hi raidos

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

0
 
D-MasterAuthor Commented:
but why it doesn't work on my domain?
0
 
intheCommented:
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now