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
0
votes
1 answer

Why does Apache server return 404 on subfolder, when it was previously working

I just installed some new SSL from GoDaddy on my Apache Ubuntu server. I then restarted via SSH and everything looks good. The root site (a wordpress install) now loads fine with https. However, there is another HTML site in the /app directory,…
Dave
  • 101
  • 2
0
votes
0 answers

404 When Not Using Incognito

A very strange thing is happening on my site. When I go to a certain page I get a 404 error, but the file is definitely there. In fact when I open up the same page in incognito, the page loads without issue. What could be causing this? This is an…
Vandel212
  • 101
0
votes
1 answer

My Magento only can load the first front page, and all the page are 404. Nginx server configuration issue

I am trying to run Magento 2 on WSL, ubuntu Nginx webserver, localhost I only able to load my website first front page, but the rest of the pages are 404 not found. I only modify the /etc/nginx/sites-available/default file. Since I am using…
0
votes
0 answers

Add fallback image for images giving a 404 error on nginx

In case of an image (png,jpg,gif) missing thus giving a 404 error, I would like Nginx to send back a fallback image e.g. https://example.com/fallback.png I tried the following with no success location ~* ^/[^/]*/(.*)\.(gif|jpe?g|png)$ { try_files…
0
votes
1 answer

IIS Server, sudden 404.4 on all sites The resource you are looking for does not have a handler associated with it

I have a long standing IIS 7.5 box that suddenly stopped working mid morning today. Something has obviously changed but I have been unable to determine what and would appreciate any suggestion. All of the sites on the IIS server have started…
Steve
  • 11
  • 3
0
votes
1 answer

nginx, handle 404s in another location with proxy_pass location

I have a basic django application setup under nginx. So far everything runs fine. What I need is a setup so I can handle 404s under /media/ with my proxy_pass application. Currently, it shows a bare nginx 404 error when no file is found. I've read…
benzkji
  • 101
  • 3
0
votes
0 answers

Integrate Codeigniter and Phplist 404 Nginx

Im trying to install codeigniter inside phplist and everything is running well in apache. But its getting 404 when uploaded to live server which is using nginx. I knew it must be the mod_rewrite problem, and trying google the config but no…
0
votes
0 answers

Nginx rule to redirect user to a /404 url if the current url ends with index.php

I am looking for an NGINX rule for my website. If the user lands on my website with a URL having index.php at the end I want to redirect them to a /404 URL with a 404 status code. for eg http://example.com/index.php => http://example.com/404…
Aj Maurya
  • 101
0
votes
1 answer

Constant bot probing on my website

Looking at my IIS logs from Godaddy, I can get hundreds of 404 errors a day, where either some script kiddies or bots are constantly looking for vulnerabilities or pages/directories to exploit. Besides a lot of directory search attempts and non…
SteveFerg
  • 103
  • 3
0
votes
0 answers

Return another code than 404 if file not found on a nginx alias directive

Nginx has a root folder let's say /var/www/mysite1/ I have a file in /var/www/ that I need to be able to serve. This file sometime exists, sometime does not. If the file is not there, by default nginx is returning a 404. How can I set up a different…
0
votes
1 answer

Return file with status code from remote server in Nginx

I am trying to set up my SPA to return 404 for invalid resources by having nginx do a backcheck for the resource before responding. All this is to avoid invalid pages coming with 200 and thus having spiders crawling soft 404 pages. My desired…
0
votes
1 answer

Nginx Reverse Proxy Issues

I have a nginx reverse proxy configured in front of a webapp. It's currently functional but there is a bug that when a user refreshes the page the page returns a 404 if their page is not the homescreen. EG: http://game.com refreshes…
-1
votes
3 answers

Change WordPress root directory in nginx

I have a website that address is site.com and also a WordPress that is site.com/blog. I would change the WordPress root directory in the nginx. here is my config: server { listen 80 default_server; listen [::]:80 default_server…
-1
votes
3 answers

NGINX is not found (20: Not a directory)

When I try to access a file which is named "file" I got the Error 404 - file not found. I checked on the Server if it exists. Yes it does exist. I checked if the file is owned by the webuser. Yes it is. I checked the correct permission. 775 should…
SystemCookie
  • 169
  • 1
  • 14
-1
votes
1 answer

Unable to access domain.com/phpmyadmin giving me 404 error

I hope you are fine. I installed for more than one year Vesta in my CentOS 7 everything is working fine, but a few days ago I cant access phpmyadmin. In the past, I just go to Vesta click on phpmyadmin and open the 1.2.3.4/phpmyadmin, but now when I…
1 2 3
25
26