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.

385 questions
1
vote
0 answers

nginx rewrite throw 404 with last and break

I have a virtual host like below for my Yii website server { root /var/www/code; index index.php index.html; server_name example.com; location / { rewrite ^/en/keyword$ /en/spesfic_controller/ last; …
Alaa Alomari
  • 638
  • 5
  • 18
  • 37
1
vote
1 answer

404 in Tomcat manager with AJP connector

I'm trying to configure Tomcat 7 on CentOS 6 with Apache mod_jk, SSL, and an AJP connector. The JK module is installed under Apache: $ sudo httpd -M | grep jk jk_module (shared) Syntax OK Tomcat is configured with an AJP connector as follows:
Jon W
  • 11
  • 5
1
vote
0 answers

IIS 7.5 giving 404.19 "Denied by filtering rule" if URL contains "test" - No filtering rule defined

my IIS is giving me a 404.19 if a certain URL contains the string "test" in any sort or form. For…
Worp
  • 287
  • 1
  • 4
  • 15
1
vote
0 answers

IIS 7.5 images not showing - 404

I have IIS 7.5 running my local dev site. My problem is the images are not displaying and in the browser console i receive a 404 error for them. I have checked the Handler Mappings and have 'StatticFile'. I've also got Common Http features, and…
user667430
  • 111
  • 3
1
vote
1 answer

404 not found when trying to access index.php

Recently I have reinstalled a server with Ubuntu 14.04 LTS, nginx/1.6.1 and php5-fpm. When I try to access index.html it's working when I try to access index.php i get "404 Not Found". I double checked the .conf files and I can't find what is the…
Bogdan Galan
  • 51
  • 1
  • 2
  • 7
1
vote
1 answer

Laravel 4.1 on nginx routes error 404

I am having troubles with the routes of laravel on a nginx Server. It shows a "404 not found" for all the routes, except for the default one, very similar to this problem:…
tenhsor
  • 113
  • 4
1
vote
1 answer

Apache: Serve content from files that are restricted

In my Apache setup, I have a directory with my error pages in it (404 403). However, I don't want this directory being viewable directly - I'd like accessing it to return a 404. So what I did was this: # Use /hidden/404/ as the 404…
1
vote
0 answers

Simple php page gives 404 error in Magento

For testing purpose, I created a folder and created a test.php file in my magento site. It contains: It works on one machine but not another machine. I chmod 777 to the file but it didn't work. If I create a test.html file it…
Sam Kong
  • 833
  • 1
  • 6
  • 10
1
vote
2 answers

Thousands of robots.txt 404 errors from bots trying to crawl old multisite

Current situation is that we are getting thousands and thousands of 404 errors from bots looking for robots.txt in different places on our site due to domain redirects. Our old website was a labyrinthine multisite powered by dotnetnuke with multiple…
1
vote
1 answer

'File not found' exact path in nginx and php-fpm

Sometimes when configuring nginx and php-fpm I get message "File not found." I know this is beacause of wrong parameter SCRIPT_FILENAME, e.g.: fastcgi_param SCRIPT_FILENAME /some/path$fastcgi_script_name; I wonder is there a way to get exact…
Oleg
  • 266
  • 3
  • 17
1
vote
0 answers

Apache ProxyPass to Rack gives 404 error

(for simplicity I changed IPs of Apache server to 1.1.1.1 and Gollum server to 6.6.6.6) I'm trying to serve a Gollum wiki with rack through Apache (since it has SSL set up properly and I'm currently only testing the Gollum wiki). So I setup Apache…
Yuval
  • 121
  • 3
1
vote
1 answer

Can't setup nginx + php5-fpm in a fresh installation getting 404

I just've downloaded nginx 1.4 and right away I see the "Welcome to nginx!" message, then I've installed php5-fpm from the repositories so I create a php file at /usr/share/nginx/html/demo.php just with inside. (I'm…
Novato
  • 11
  • 1
1
vote
1 answer

Apache misbehaving (returning 404s)

CentOS 6.4 64-bit Apache 2.4.6 PHP-FPM 5.5.4 Homepage from root loads fine http://csillamvilag.com But all other pages return 404 (CMS is WordPress). I am also able to access and log into WordPress backend. None of the WordPress pages except home…
OC2PS
  • 539
  • 2
  • 8
  • 21
1
vote
2 answers

Apache mod_rewrite not working

I installed Apache through its windows installer and then PHP and MySQL too. Wordpress is working fine on this setup so it means the basic setup required is working fine. But somehow mod_rewriting is not working even though i have uncommented the…
OrangeRind
  • 127
  • 1
  • 1
  • 7
1
vote
1 answer

Nginx 404 error page php with params

In Opencart, 404 error is shown in this url: /index.php?route=error/not_found This page has a 404 custom page with the template of all the website. I´ve tried in Nginx with: error_page 404 = /index.php?route=error/not_found; But it goes to nginx…
Alberto
  • 111
  • 1
  • 3