question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow checkbox option to preconfigure .well-known virtual application

See original GitHub issue

Is your feature request related to a problem? Please describe. Yes. The way this function works, it creates a virtual application within your parent application, installs a web.config to be able to serve extensionless files, and then writes the [extensionless] acme verification file so that the verification can occur. The problem is with IIS’s web.config inheritance. Since this function create a virtual application of the parent site, this means that the web.config of the parent site is inherited. Unfortunately, it’s not good enough to just include <location inheritInChildApplications=”false”> in the parent application’s config. You may still need to include some undo-configurations in the child web.config (e.g. the .well-known application that this function creates) in order to be able to serve anything at all. (What happens is a YSOD (Yellow Screen of Death) appears for any request to the .well-known virtual application).

A real-example is Sitefinity sites. Progress Telerik tells users the slightly-complicated process to be able to have virtual applications within a parent Sitefinity application at all: https://www.progress.com/documentation/sitefinity-cms/run-a-sitefinity-instance-as-parent-or-child-of-an-asp-net-application. TL;DR: it requires you to modify the parent web.config a little bit, and requires some special undo-configuration in the child web.config. Both steps are required or any child virtual applications won’t load at all.

Unfortunately even if I create the .well-known virtual application and set the proper web.config, this function overwrites the web.config with an invalid one. And then also deletes my .well-known virtual application after its attempt.

Describe the solution you’d like I think the easiest possible solution for you would to be include a checkbox somewhere that allows me to configure the .well-known virtual application with the proper web.config myself. That way you don’t have to deal with all of the ways a web.config can go wrong. With that checkbox checked, you wouldn’t create the .well-known virtual application, wouldn’t create the web.config, and wouldn’t delete the .well-known virtual application after.

Describe alternatives you’ve considered I’ve tried hacking it multiple ways, but it is not possible. Web.configs can’t be read-only App Service. I can’t completely remove permission because you need to be able to write the acme verification file.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
shibayancommented, Sep 18, 2020

v3.2.0 Released.

0reactions
samruebycommented, Sep 13, 2020

If you can describe how you’d like it implemented, I would be interested in making a pull request.

Read more comments on GitHub >

github_iconTop Results From Across the Web

OpenID Connect (OIDC) on the Microsoft identity platform
Under Implicit grant and hybrid flows, select the ID tokens (used for implicit and hybrid flows) checkbox. Or: Select Azure Active Directory > ......
Read more >
Meaning of checkbox in the Definition tab "Include virtual ...
Hi David, Good question, is that an old naming convention for "TS-" or is it something completely different? Technically, a "TS-" application can...
Read more >
Checkbox Rules in Google Forms! - YouTube
Customize your Google Forms by using Checkbox Rules! ... Splitting Multiple Choice ( Checkboxes ) Responses from Google Forms into ...
Read more >
OIDC configuration with AD FS
Configuring AD FS; Creating and configuring the virtual proxy ... Under Apply Access Control Policy, select Permit everyone. Click Next. Under Configure ......
Read more >
Configure Check Lists and Check Boxes - Cloud
Use a check list control to add a list of options to your web form. A check list allows users to select one...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found