-
-
Notifications
You must be signed in to change notification settings - Fork 373
web.config / default document support and hiding .DLL #217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Who fails? ISS to find the dll or dmvc to find the route? |
It doesn't seem to trigger any events in DMVC when the default document is used and the "Project1.dll" isn't in the URL ? I added a filter to monitor, I tried adding extra events / logging to DMVC and they never get called. Add the "Project1.dll" back in the path and all filters/events are triggered ? The same default document web.config appears to work ok for uniGUI. And his onHttpCommand events still fire ? Maybe I'm missing something ? No Rewrite rules are being used. Just a simple default document. |
Did you solve the problem? |
I also have this problem. it would be nice to hide the dll name when publishing to IIS |
I'm using IIS to host Delphi MVC apps. There is no need to publish the name of the DLL.
I can send through instructions on Tuesday when I'm back in the office if that would help ?
David
…On June 1, 2019 9:04:33 AM GMT+12:00, "João Antônio Duarte" ***@***.***> wrote:
I also have this problem. it would be nice to hide the dll name when
publishing to IIS
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#217 (comment)
|
Good news. I don't use IIS. Could you provide those instructions here in the issue comment? |
The following instructions have been tested under IIS 7.5 Application Pool The application will run under the default identity. If it requires access to specific resources and a domain account has been created, then enter the Identity and password under the Process Model section. All other settings can be left at their default values. Web Site Handler Mappings Physical Path Credentials Other Permissions IIS Error Handling
ISAPI Loader
|
Hello It is very easy to set up and the result is clean url. |
Uh oh!
There was an error while loading. Please reload this page.
If you create a simple DMVC DLL and deploy it on IIS.
localhost/Project1.dll/api/ works as expected.
If you have a default document of Project1.dll on IIS
localhost/api/ fails.
Is it possible to deploy on IIS with ISAPI and hide the DLL ?
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <handlers accessPolicy="Read, Execute, Script" /> <defaultDocument enabled="true"> <files> <add value="Project1.dll" /> </files> </defaultDocument> </system.webServer> </configuration>
The text was updated successfully, but these errors were encountered: