Solved

CGI Application error

Posted on 2002-04-27
4
140 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi Dbf export problem to a Visual Foxpro application 6 161
Delphi XE10 Round Image 2 77
Multiple image collision 13 69
Firemonkey webbrowser scrollbars ? 1 29
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

910 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

16 Experts available now in Live!

Get 1:1 Help Now