14 questions
0
votes
1
answer
370
views
ASP.NET MVC RequireHttps Page Not Found
I am trying to add the RequireHttps tag to a controller action but when I try to navigate to it I get a page not found error when I try:
https://localhost/MVCDemo3_4/Home/Index2
or
http://localhost/...
1
vote
0
answers
883
views
Redirect between HTTP and HTTPS with [RequireHttps] failed with IIS Express
I'm tried using IIS Express. ( change from previous use Local IIS ) .
I have redirect problem.
For example
step 1:
go to login page https://localhost/user/index , i got "ERR_CONNECTION_RESET"
step ...
1
vote
2
answers
496
views
Requirehttps for DEVELOPMENT and LIVE websites
I have some ASP .NET MVC4 website which I have to put first to DEVELOPMENT place to test. And development website doesn't have SSL but the LIVE has it.
Well. I have to use [Requirehttps] inside of ...
0
votes
3
answers
10k
views
RequireHttps and routing to https URL
I am using the RequireHttps attribute on most of the actions in my User controller which handles the login and my secure https pages.
On my Home Page which is http I have a link to my login page as ...
0
votes
1
answer
170
views
MVC3 RequireHTTPS Simple
Im running an MVC3 app within an IIS7.5 instance on a winsvr2008 R2 box. Now if i set RequireHttps either globally or on each class, my url never gets rewritten at all, in fact it changes nothing? Im ...
2
votes
2
answers
360
views
Why doesn't this load into https?
In asp.net mvc 3 I have a site which has an ssl certificate, and runs just fine in https. The only page exposed is the logon page. For whatever reason, it does not load in https. Here is my relevant ...
7
votes
2
answers
8k
views
ASP MVC 3 RequireHttps attribute change all links to https
I have an ASP MVC 3 website that has a Feedback form and should require SSL.
Now, I have an action called Feedback inside a controller called 'ContactUs' that is responsible for viewing and ...
7
votes
3
answers
2k
views
ASP.NET MVC [RequireHttps] - return to http
Once you place [RequireHttps] on an action and user switches from HTTP to HTTPS, all subsequent links will stay HTTPS...
Is there a way to switch back to HTTP ?
9
votes
1
answer
721
views
Why does AppHarbor + RequireHttpsAttribute equal frowny-face :(
First deployment to AppHarbor today. After some initial work getting it to build, I successfully deployed an MVC3 app.
There is a problem with using the RequireHttpsAttribute though. I noticed at ...
3
votes
1
answer
1k
views
ASP.NET MVC: OutputCache attribute disregards RequireHttps attribute?
I have an ASP.NET MVC 3 application with an action that uses both the RequireHttps and OutputCache attributes:
[RequireHttps]
[OutputCache(Duration = 14400, VaryByCustom = "CurrentUser"]
public ...
14
votes
5
answers
30k
views
MVC RequireHttps and redirect if not https
I've read thru many of the questions on ASP.NET MVC [RequireHttps] - but can't find the answer to this question:
How do you make the [RequireHttps] attribute switch the url to https if it was not ...
0
votes
1
answer
681
views
Asp.Net MVC RequireHttpsAttribute or Response Redirect doesn't work in IIS6
I am using RequireHttps attribute to redirect Http to Https. It works fine in my dev machine which has IIS7.5 installed. However, it doesn't work in IIS 6 in Windows Server 2003. Thus, I have got Http ...
0
votes
1
answer
321
views
ASP.NET MVC RequireHttps not available
I'm using System.Web.MVC v2.0.50727 and can't seem to apply the RequireHttpsAttribute. I can use [OutputCache(...)] for instance, but if I try to use [RequireHttps] I get a missing assembly error.
...
0
votes
2
answers
445
views
fails in MVC Preview 2 when applying to AccountController.LogOn
When trying to apply [RequireHttps] to AccountController.Logon in ASP.NET MVC 2 Preview 2 I get the following error :
ASP.NET detected invalid characters in the URL.
This is because ASP.NET has ...