http-status-code-404

nginx - 404 not found page for permalinks

Me and my friend have had a website (http://www.ferfereh.ir - sorry not english) for a year. We've been using a Linux Apache host with wordpress installed. Now suddenly all of our posts (which had a permalink structure = /%category%/%postname%.html) have broke and says: 404 Not found nginx Maybe our host provider has installed NginX. ...

Posting Large Dataset causes 404 Error from WebService

I've noticed plenty of posts on Http errors related to upload size but none of the solutions seem to work for me. I've got a web service that accepts a dataset over http, and if the data being uploaded is small like just a couple of rows, it works just fine, but when the amount of data is quite a lot (a couple of MB), I get a strange 404...

Https returns 404 with DefaultHttpClient on Android?

I have an http request that worked as http://blah.com and now I have been asked to use https://blah.com The former works and the later fails with a Network I/O error. Are there any missing parameter settings that I need for the client? The URL request: D/MyAppWebservice(23142): http-transform :) [https://cdp.mobibob.com:8151/DoTransa...

Sitecore Images (ASHX extensions) not being picked up by IIS 5.1 or IIS7 Express- Getting 404 Instead

At the moment I have no images being picked up at the moment, and this is off a completely default Sitecore Xpress install. I think this version is based on a 6.0 release I have installed it on a XP machine (no images) and then tried running it through WebMatrix, still with no images. I am at a loss really, and I have been grasping ...

asp.net MVC : when is IIS giving a 404 and when does it forward it to my app?

Hi, i was wondering about the following: i can define in IIS what to do with page not founds / 404, and also in my app i can put it in my CustomErrors section or just handle it in code. Now as i assume IIS always gets the request first, when does it handle the 404 for itself, and when does it let it pass through to my app? And a side...

CodeIgniter 404 Page Not Found, but why?

Hello I am using CodeIgniter for two applications (a public and an admin app). The important elements of the document structure are: /admin /admin/.htaccess /admin/index.html /application /application/admin /application/public /system .htaccess index.php The /admin/.htaccess file looks like this: DirectoryIndex index.php RewriteEngi...

ASP.NET CustomErrors ignores when a dot before slash is in url

Hi all, we have configured customerrors, so when we do this: http://oururl.com/webDoesNotExist/test.aspx the custom error page is presented, but when we do this: http://oururl.com/web./test.aspx we get an 404 from asp.net runtime any idea how we can redirect to custom error in this case? greetings, Tim ...

A weird issue with WindowsIdentify.GetCurrent().Name property within an ASP.NET app

I have an ASP.NET app that supports vanity urls by means of custom IHttpHandlerFactory implementation. When requests to unavailable files/vdirs trigger a 404, this custom handler interprets the physical url from the vanity url and redirects to the right page. The issue is, I use WindowsIdentity.GetCurrent().Name to determine the user (...

MVC2: Non-view aspx page in iframe

I have a contradiction to deal with: I need to make a stylesheet load for a reporting object (for ASP.NET -- it requires runat), however, it won't compile when I have <% %> tags in . I need the <% %> stuff in to load stylesheets and jscripts for the rest of the page. So, I'm going to load the reporting object into an wrapped in a n...

django on nginx & apache : where to handle 404 & 500 error ?

I know there is 404 error handling in django. But is it better to just put that config in nginx ? This ST thread has the solution for putting it. - http://stackoverflow.com/questions/1024199/nginx-customizing-404-page Is that how everyone handles it when using nginx ? I have created my own 404.html & 500.html in the sites theme, want ...

Ajax query on php file with query string causes 404

If you want to recreate the error go to www.tlcnz.com and click on the contact us link in the horizontal menu under the masthead. In the interests of the site not being totally non-functional I have removed the query string entirely from all the other other links and replaced them with individual files for each one - except for the link...

very odd 404 on wp-admin directory

I just moved my wordpress install from my older server to a new one which has CPanel installed. The site is working fine on the front end and if i am not logged in the wp-admin redirects me to the login page but as soon as i sign in i get a 404 error on the directory. i've checked file permissions, did a chmod recursivly to 755 then test...

404 Response in Google Buzz API

I'm playing around with Google Buzz API from Python, During the OAuth process when I reach the part of authorizing the token from browser, I go to this URL https://www.google.com/buzz/api/auth/OAuthAuthorizeToken?oauth_token=..., and when I press OK, continue I expect to be directed to a page like this one http://code.google.com/apis/ac...

404 error page for all url contexts

Hi there. I have a custom 404 error page in my java web app. (declared using web.xml) It is working in all the cases. But if the url pattern comes like for example : www.mysite.com/admin/cannotfind the custom error page doesnt locate the images and css java script files for 404 custom error page. But it get works for normal url like www...

Why am I getting 404 on my web service locally

I am working with a web service written using .NET wcf. When running locally, I can go to the wsdl by going to the url of the svc file but I get a 404 error when I try to go to one of the service methods ex Api.svc/GetPrice Any thoughts about what could be causing this? The service is running on production. (I just need to fix a bug ...

httpModule for 404

I've created an httpModule to handle URL remappings, and it works great on my test system. A request for www.mydomain.com/Some_Fancy_URL gets rewritten to www.mydomain.com/some.aspx?fancy=23 and so on. When I deploy to the actual web site, I'm getting the default IIS 404 page though. After doing some research online, it would seem tha...

nginx multi-stage 404 handling

We just moved to a new site, and want to redirect old links where necessary - however, some still work. For instance, /holidays/sku.html still works, while /holidays/christmas/ no longer works. I'd like to be able to allow the site to attempt to serve a page, and when a 404 is reached, THEN try to pass it through a series of regex ...

Can not reach to the internal links!!!

Good days, I have a webpage. I never had a problem like this before. When I wanted to give a link to internal file on the path like public_html/slides/new.ppt. I created a link like this to reach this : <a href="http://mydomain.com/slides/new.ppt"&gt;Link&lt;/a&gt; But, suddenly I am getting object not found errors. Although the path ...

Missing slash causes 404 using RouteTable in ASP.NET

I have a ASP.NET 4.0 web application that uses System.Web.Routing.RouteTable for some routing. In my global.asax I have this code: protected void Application_Start(object sender, EventArgs e) { RouteTable.Routes.Add(new Route("", new PageRouteHandler("~/Documentation/Index.aspx"))); } The application resides in a virtual directory...

Catching Referring URL in 404 page with from URL with .html extension

Hey im trying to catch the referring url from a custom site which uses friendly URLS. now if i do for example a invalid url basepath/TEST/TEST The url stays in browser but content switches to 404 but if I do basepath/TEST/TEST/index.html the url changes to 404.aspx so i cant get the referring url any ideas ? ...