Questions tagged [mvc]

22 questions
9
votes
2 answers

How do I make all URLs run through a single PHP file?

How do MVC systems where the urls are in these forms force all the requests through a single index.php file? http://www.example.com/foo/bar/baz http://www.example.com/goo/car/caz/SEO-friendly-name-of-the-object http://www.example.com/hey/you EDIT:…
jmucchiello
  • 215
  • 1
  • 2
  • 6
6
votes
3 answers

Intermittent high CPU (100%) on production webserver

X-Post from StackOverflow: https://stackoverflow.com/questions/9465123/intermittent-high-cpu-100-on-production-webserver We have a web cluster with 3 web-servers, each with 24 cores & 24GB mem. Our application is latest patched ASP.NET 4.0, With…
Dave
  • 161
  • 1
  • 1
  • 4
5
votes
1 answer

IIS - CPU Usage Gradually Increases Over Several Days Until 100%

The picture explains it all. We have had a problem with an IIS MVC 5 website hosted on Microsoft Azure over the last several months. The site appears to continually eat up CPU over a few days until it reaches 100% CPU. I have used Perfmon/DebugDiag…
3
votes
2 answers

Configuring ASP.NET MVC2 on Apache 2.2 using mod_aspdotnet

Trying to get an Microsoft MVC2 website to run on Apache 2.2 web server (running on Windows) that utilizes the mod_aspdotnet module. Have several ASP.NET Virtual Hosts running, trying to add another. MVC2 has NO default page (like the first version…
flascuba
  • 33
  • 1
  • 4
2
votes
1 answer

Does installing ASP.NET MVC on Windows 2003 require a server reboot?

Does installing ASP.NET MVC require a server reboot? I've set up quite a few ASP.NET MVC sites on production servers in my time, but today, I'm deploying to a server without MVC installed for the first time. So, I installed the latest MVC release,…
user28840
2
votes
1 answer

TCP Initial Handshake Incomplete (ACK Missing)

I am irritated about the following scenario: I am running a MVC application on an IIS 10 Webserver. While calling the URI, it takes about 10 seconds until the application starts to get called (IDLE time). Having no real explanation for the occuring…
kword
  • 31
  • 6
2
votes
0 answers

Spring Shiro is not authenticating login screen in SpringMVC web application

I am trying to use Apache Shiro framework 1.2.4 for security requirements of our Spring MVC web application. I have included configuration details in the application context, pom.xml and web.xml below. The Shiro is not authenticating the user when…
2
votes
1 answer

Deploying MVC 5.1 app on web server

I made ASP.NET application with MVC 5.1 technology and tried to deploy it on Winhost server. When I go to my web site, I get the following error message. Could not load file or assembly 'System.Web.Mvc, Version=5.1.0.0, Culture=neutral,…
orthodox4ever
  • 21
  • 1
  • 4
2
votes
1 answer

IIS7 Serving Font Files as 404s

I'm having trouble getting font files to be returned by my IIS. The URLs are correct, the mime-types are set correctly, but I'm still getting 404's. Other static files like JS, CSS, LESS are all returned as expected but the dang font files won't…
Chris Peterson
  • 213
  • 3
  • 8
1
vote
1 answer

SecureCookies, HTTPOnly cookies, .Net, and SSL offloading

So I've been looking into implementing HttpOnly and SecureCookies in my web environment. I have an F5 as the load balancer and a couple of C# web applications hosted in iis 7.5 for the website. The .net applications are an old asp.net legacy…
user1079703
  • 111
  • 1
  • 3
1
vote
1 answer

Can't access my MVC web application hosted on IIS 7.5 through Internet

I'm hosting my MVC web application on IIS 7.5, and do the following: Add Application Pool and change Identity to NetworkService; Edit web application folder permissions to everyone; Files in C:\inetpub\wwwroot; Get myWANip. This works fine when…
Ahmed Salameh
1
vote
2 answers

Getting 404 error on MVC web-site

I have an IIS7.5 web-site, on Windows Server 2008, with an ASP.NET MVC2 web-site deployed to it. The website was built in Visual Studio 2008, targeting .NET 3.5, and IIS 5.1 has been successfully configured to run it as well, for local…
RB.
  • 382
  • 2
  • 8
  • 19
1
vote
1 answer

IIS6 - Switching from .Net 2 to .Net 4 produces error “Declined to show web page”

I have a simple website (http://localhost:8889) on Windows Server 2003 and IIS6. There is nothing in this website except a page called default.htm containing a simple text string. The page is served up properly if I specify .Net 2.0 on the ASP.Net…
tzerb
  • 181
  • 1
  • 6
1
vote
1 answer

Deploying ASP.NET MVC to Windows Server 2003

I have a problem with an MVC 2 website on Windows Server 2003 running IIS 6. It is externally hosted, but we have a 2003 server internally for testing. The internal server runs the website fine, the external server gives a 403 ("website declined to…
0
votes
2 answers

generated .css file in nginx

I developed on an apache, now I need to deploy on ngix and I ran into some difficulties. Because inline-styles are disabled in my project (with cakephp) and there are some colours defined in the database, I made the RsrcController generating the css…
1
2