Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enable and Enforce SSL but allow independent ASPX page to use SSL

I have a DotNetNuke website set up with Enable SSL and Enforce SSL to allow us to have both insecure pages and secure pages such as the shopping cart.

However, I have an independent ASPX page (a PayPal IPN listener) that I want to be able to access through https://

At the moment, when a request is made to the IPN listener through SSL an HTML page containing javascript redirection code is served up to redirect to http://. Since PayPal's request doesn't respond to javascript redirects, the correct page is never requested.

Is it possible to enable SSL for this file?

EDIT: Added information about javascript redirect. Also, I have tried creating a virtual directory, but that does not allow me to use DNN application code in my aspx file.

like image 247
colincameron Avatar asked Dec 13 '25 19:12

colincameron


1 Answers

What version of DNN? As technically I didn't think redirects should be impacting actual physical .aspx pages.

However, regardless you could put that file inside of a separate folder, then make it a virtual directory and that should block DNN's processing of the request.

like image 98
Mitchel Sellers Avatar answered Dec 15 '25 19:12

Mitchel Sellers



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!