Atozed Forums
ISAPI DLL deployment files needed - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: ISAPI DLL deployment files needed (/thread-860.html)

Pages: 1 2


RE: ISAPI DLL deployment files needed - bob9999 - 12-15-2018

OK, I was able to get the redirect turned off and what I receive when trying to use the dll directly the way you have in that example is "404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.". Hope this assists in you understanding the issue. If I change the URL a little then IIS tries to download the DLL. So I either get the error that I cannot browse, resource not found or the dll tries to download depending on how I construct the URL. Cheers.


RE: ISAPI DLL deployment files needed - msgopala - 08-12-2019

I need help n this. all this time we had deployed using an IP address. We now have a seperate domain anme for the ISAPI deployment. The way it has been deployed is that it points to an Access folder (where all my dlls are deployed) and lists all the dlls in there. The redirect is also pretty much not helpful as the users can still get to the access folder.

How can I:
-Bind the new IP to the new domain directly
- then on the IIS server have it bound to the dll instead of having to type .dll How it is right now www.AccessDomain/isapi.dll I want to change it to www.maindomain/second domain.

How do i hide the access folder and the .dll extension?

Thanks.


RE: ISAPI DLL deployment files needed - Jose Nilton Pace - 08-12-2019

Hi. Install extension URLRewrite in your IIS. After that, goes to your folder and edit the web.config file and write something like:
Code:
<rule name="Rewrite for Intraweb" enabled="true" stopProcessing="true">
   <match url="second/(.*)" />
   <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
   <action type="Rewrite" url="isapifolder/isapi.dll/{R:1}" logRewrittenUrl="true" />
</rule>

In your delphi project, ServerController on Base Config:
Code:
procedure TIWServerController.IWServerControllerBaseConfig(Sender: TObject);
begin
  Self.RewriteURL := '/second';
end;



RE: ISAPI DLL deployment files needed - msgopala - 08-13-2019

(08-12-2019, 06:02 PM)Jose Nilton Pace Wrote: Hi. Install extension URLRewrite in your IIS. After that, goes to your folder and edit the web.config file and write something like:
Code:
<rule name="Rewrite for Intraweb" enabled="true" stopProcessing="true">
   <match url="second/(.*)" />
   <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
   <action type="Rewrite" url="isapifolder/isapi.dll/{R:1}" logRewrittenUrl="true" />
</rule>

In your delphi project, ServerController on Base Config:
Code:
procedure TIWServerController.IWServerControllerBaseConfig(Sender: TObject);
begin
  Self.RewriteURL := '/second';
end;
Thanks!


RE: ISAPI DLL deployment files needed - Alexandre Machado - 08-16-2019

why don't you deploy as Http.sys? Much simpler than IIS... and faster

BTW, JNP solution works fine