Questions tagged [http-status-code-404]

404 is the HTTP status code for "Not Found"

A web server will return a status code of 404 when the resource that is being requested does not exist or cannot be found.

386 questions
0
votes
1 answer

Why do I have requests to "/usr/share/nginx/www404"?

I have requests to /usr/share/nginx/www404 in my NGINX logs. Note that www and 404 are mashed together. The according line in my nginx.conf is error_page 404 /404.html; and there's a 404.html in my web root folder, sure. Clean config files here…
Sliq
  • 142
  • 1
  • 8
0
votes
1 answer

404 on localhost whith apache on fedora

i'm a newbie and using the cs50 appliance(based on fedora) which is made for cs50 course on harvard university. we use the appliance as a virtual machine and they have set everything ready and any necessary tools installed so we just start…
asedsami
  • 103
  • 3
0
votes
3 answers

Tomcat logging and mod_proxy

I have Tomcat running on port 8080, and when I send a request directly to Tomcat it works fine: curl -IL http://localhost:8080/myapp HTTP/1.1 302 Moved Temporarily Server: Apache-Coyote/1.1 Location: http://localhost:8080/myapp/ HTTP/1.1 302 Moved…
0
votes
0 answers

Apache error log not showing full path of 404 failures

If I have a working path like /gallery/landscapes and I try to access this inexistent url: /gallery/landscapes/whatever I see the 404 error in my browser but the apache log says that I had an error at this location: /gallery/landscapes truncating…
adrianTNT
  • 1,077
  • 6
  • 22
  • 43
0
votes
1 answer

Apache 2.2 serving 404s and not logging after server reboot

I previously had Apache 2.2 running a few virtual hosts on my Ubuntu 12.12 Digital Ocean droplet. Then I wanted to increase the server RAM, so I quit with shutdown -h 0 (without stopping Apache, or anything else). I resized the RAM and rebooted the…
0
votes
1 answer

Redirect to default image when file is not found

From an iOS app I upload small avatars of Apple Game Center users to a web server, into an /ios-avatars/ dir. But some players do not have any pictures. By using Apache mod_rewrite is it please possible to redirect "not found" requests to files like…
Alexander Farber
  • 714
  • 4
  • 17
  • 38
0
votes
1 answer

Openshift PHP app throws "404 Page not found error" with custom domain name

I have a PHP app on Openshift which is working fine with the native URL (e.g xyz-xy.rhcloud.com). Later I added an alias to the app(e.g, www.xyz.com) and I also updated the CName in my Zone file at godaddy.com. When I enter www.xyz.com, it redirects…
0
votes
1 answer

Set Default 404 error pages across entire instance of IIS

we are currently using IIS 8 on our new windows VPS. We have a content management system we install for all our apps we build, but we are finding it incredibly painful as our hosting provider requires that we change the default 404 error page from…
user125264
  • 101
  • 3
0
votes
0 answers

NGINX Custom ErrorPages wont work

My Server doesn't want to display a custom 500 error page. The error page for the 500 error is here: https://aixspace.de/errorpages/500-504/500.html these are my vhost configs: server { listen 80; ## listen for ipv4; this line is default and…
0
votes
1 answer

Getting Drupal or Apache to try a proxy on 404

I have a legacy (Tomcat) site that used to be called host.domain and recently deployed a Drupal site. The new Drupal server is now host.domain and the old Tomcat server is legacy.domain. Most of the hierarchy has been replicated in Drupal, so…
0
votes
1 answer

Is it possible to create Custom Error Log in Apache 2 for 404 hits?

Is it possible to create a log file (for example not_found.log) with only 404 HTTP Status Code with Apache2? Just like this: http://www.helicontech.com/articles/mod_log_config-capabilities/ (Per status code differentiation) The main problem with…
Virtuose
  • 537
  • 1
  • 6
  • 13
0
votes
2 answers

Nginx returning 404 with Python-urllib but fine if accessed from browser

We have a repo server running on a Windows box serving some static files that are supposed to be grabbed by our worker nodes using Python-urllib. The problem lies in the fact that when we make a request to a file that we know exists using Python we…
Matthew Salsamendi
  • 318
  • 4
  • 5
  • 15
0
votes
1 answer

curl from localhost gets 404

We have a cPanel host running on centos that has got me stumped. I am trying to use curl from the command line to trigger a specific web page. However I keep getting 404 errors for the specific page whereas the main page works fine. curl…
user35213
0
votes
1 answer

Why IIS is still blocking Web.config even after setting denyUrlSequences and fileExtensions?

One of the IIS sites I manage forwards all the requests to Apache. This means that any request, including requests to files such as .config, should be forwarded.
Arseni Mourzenko
  • 2,275
  • 5
  • 28
  • 41
0
votes
1 answer

Apache memory usage with 404

We're facing a problem with an apache server serving static files. When there are lots of requests for a resource that doesn't exist the apache starts to grow in number of processes and memory usage until it uses all the memory available and stops…