Questions tagged [isapi]

The Internet Server Application Programming Interface (ISAPI) is an N-tier API of Internet Information Services (IIS).

410 questions
2
votes
1 answer

Can I create a clean URL using WebBroker and Delphi?

Can I create a clean URL for WebBroker webpages/applications ? A typical WebBroker URL normally looks like: hxxp://www.mywebsite.com/myapp.dll?name=fred or hxxp://www.mywebsite.com/myapp.dll/names/fred What I would prefer…
2
votes
1 answer

CORS issue on a Delphi's Datasnap ISAPI Module

We have a problem with a Datasnap REST (Delphi 10.1 Berlin) Server accessed by AngularJS clients. I can't activate Authorization because Angular can't send the dssession within a Pragma Header, seems to be a problem with CORS, because the browser is…
Marc Guillot
  • 6,090
  • 1
  • 15
  • 42
2
votes
4 answers

Best way to debug a Windows CGI

I have a Windows CGI created with Delphi 2007 using CGIExpert that I need to debug. Is there any simply way to run it from within the IDE while passing parameters to it? I tried setting the Host Application to iexplore.exe (Run|Parameters) and…
smartins
  • 3,808
  • 7
  • 42
  • 54
2
votes
1 answer

Is there something wrong with my rewrite code in .htaccess file

I have been demented with this problem for 3 days and no matter how differently I search Google or read the Helion website I cannot understand what I am doing wrong. So, I do hope that someone will be kind enough to help me. I use a .htaccess file…
Tog Porter
  • 421
  • 1
  • 7
  • 23
2
votes
0 answers

Delphi XE7 ISAPI Soap Server - "Range check error" when recieving chunked Transfer-Encoding

We have a Delphi SOAP Web Service running under IIS 7.5 (Windows Server 2008 R2), and we are experiencing a problem when a client sends chunked requests. After the client sends the requests, the server responds almost immediately with a HTTP 500…
lucasdclopes
  • 147
  • 9
2
votes
2 answers

MVC2 + ASP.NET 4.0 + IIS6 + extensionless URLS, no longer need wildcard mapping?

I noticed that asp.net 4.0 now installs a top-level isapi plugin (in iis6), such that it can inspect every request coming to the server. Should this now allow us to run MVC applications with extensionless URLS and have the aspnet isapi process them…
Brady Moritz
  • 8,624
  • 8
  • 66
  • 100
2
votes
1 answer

Apache Hosted Web Service Doesn't Handle TRemotable classes

I started with an ISAPI DLL which I created with Delphi 2009, This module perform as expected when running in IIS 5.1 on Windows XP. This same module when hosted using Apache 2.2.15 and mod_isapi does not function correctly. To eliminate the…
William Leader
  • 814
  • 6
  • 20
2
votes
1 answer

How can I grab the URL of my website from IIS ISAPI's GetExtensionVersion?

I have a Delphi ISAPI DLL(32 bit) built with Delphi XE SPI, and hosted on a server running WinServer 2008 RS2 and IIS 7.5. See MSDN: Initialization Using GetExtensionVersion: Initialization is handled by the entry-point function …
Vector
  • 10,879
  • 12
  • 61
  • 101
2
votes
3 answers

writing a web service with dynamically determined web methods

Let's say I have a text file of basic mathematical functions. I want to make a web service that answers these mathematical functions. Say the first one is y=x*x. If I wanted to turn this into a web service, I could simply do…
quillbreaker
  • 6,119
  • 3
  • 29
  • 47
2
votes
0 answers

How to retrieve metabase properties from within an ISAPI Filter

In an ISAPI Filter, how can I retrieve metabase properties for the current application? I know I can get the metabase path by retrieving the server variable APPL_MD_PATH. How can I get, for example, the PutReadSize property, at runtime, within an…
Cheeso
  • 189,189
  • 101
  • 473
  • 713
2
votes
2 answers

Setting custom header values in an IIS ISAPI filter

I have an ISAPI filter that I am using to do URL rewriting for my CMS. I am processing SF_NOTIFY_PREPROC_HEADERS notifications, and trying to do this: DWORD ProcessHeader(HTTP_FILTER_CONTEXT *con, HTTP_FILTER_PREPROC_HEADERS *head) { …
Jon Tackabury
  • 47,710
  • 52
  • 130
  • 168
2
votes
1 answer

PHP5 ISAPI on Windows 7 (64 bit)

I'm getting this message: This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive. However, I've set…
StephenPAdams
  • 2,797
  • 2
  • 30
  • 49
2
votes
1 answer

Apache custom dynamic error response

I've seen hundreds of pages explaining how to create custom error pages in Apache 2 server. My question is different. I have a web application running in Apache (it is a ISAPI DLL, but it could also be a CGI executable). My application can handle…
Alexandre M
  • 1,146
  • 12
  • 23
2
votes
1 answer

Perl XS included from a “use lib” directory can’t be found by ISAPI

I have a Perl web application that runs on both Apache and IIS6 on Windows Server 2003. On Apache this script works just fine. In IIS using ISAPI, I am getting the following error message: Software error: Can't load …
2
votes
1 answer

ADSI Query against IIS does not agree with IIS Manager, on Vista

Using Vista... I have a script that uses ADSI to set ScriptMaps on an IIS Website. It's javascript, run within cscript.exe, and the code looks something like this: var web = GetObject("IIS://localhost/W3SVC/1"); var maps =…
Cheeso
  • 189,189
  • 101
  • 473
  • 713