First of all I've got the YSOD because I had the attribute maxBrowserDays in cache.config, which is supported from version 4.6.0. UaaS is not running that version yet.
Next I figured out that UaaS is forcing customErrors mode="RemoteOnly", even though you write customErrors mode="Off" in your web.config.
You can edit the web.config through the Kudu interface, and then the YSOD told me about maxBrowserDays.
Setting imageprocessor up to do external links ?
Hi,
I'm on a project running on UaaS, single environment and without a local setup.
How do I configure ImageProcessor to do external links ? All the examples I find tells me to run NuGet, but that's not an option for me.
// Sebastian
I've tried to replicate the settings from this page: http://imageprocessor.org/imageprocessor-web/configuration/
But when I do, the website returns a YSOD telling me to set customErrors to "Off", which it already is.
What else to do ?
Hi Sebastian,
Could you share your security config file so I can have a look?
There's also a demo test website which demonstrates external url setup.
https://github.com/JimBobSquarePants/ImageProcessor/blob/b94e03fe51cf4ff791c6668209fda4ffb78f5222/tests/ImageProcessor.TestWebsite/config/imageprocessor/security.config
Cheers
James
I sure can.
I've basically copied it from imageprocessor.org, but changed the key named protocol to "https". But I've tried both http and https with no luck
Just without all the comments. http://imageprocessor.org/imageprocessor-web/configuration/#securityconfig
Change
To
I check right-to-left so any subdomains are automatically valid.
Ok, now it works.
Here is the list of wrong doings.
First of all I've got the YSOD because I had the attribute maxBrowserDays in cache.config, which is supported from version 4.6.0. UaaS is not running that version yet.
Next I figured out that UaaS is forcing customErrors mode="RemoteOnly", even though you write customErrors mode="Off" in your web.config.
You can edit the web.config through the Kudu interface, and then the YSOD told me about maxBrowserDays.
Good job! Glad you got it working :)
Hopefully they'll be up to date soon. v7.5.0 runs v4.6.4
is working on a reply...