Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [http-status-code-404]

404 is the HTTP status code for "Not Found"

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

Server error happens in web browsers content not load after refresh

Please help me when i do refresh my web browser donot attempt to load new content and when i press ctrl + f5 it loads fresh content but after doing it 3 to 4 times. Basically it is very disturbing i ...
user avatar
0 votes
0 answers
15 views

NGINX Web server shows index.php but no other subcontents like admin panel

My website loads fine its index.php website https://carpool.domain.com/ I enter user name and password, and gets redirected to url: http://carpool.domain.com/admin_login Nginx will fail showing this: ...
user avatar
0 votes
2 answers
123 views

GCP External HTTPs Load Balancer - 404 - 503 - SSL Exception (Remote host terminated connection, read handshake, socket closed & upstream connect)

We're load testing a MIG (with 2 instances) hosted behind the HTTPs load balancer using JMeter. Observation 1: We randomly receive 404 error and 503 error, for 404 we see an entry get created within ...
user avatar
0 votes
0 answers
107 views

Not found 404 with apache and bootstack

the last two day I was trying to run bookstack with an apache webserver, which is hosted localy on my system. I'am not familiar with apache and bookstack. So this was my first try to host a local ...
user avatar
0 votes
0 answers
85 views

IIS (10.0.17763.1) New Site Fails with 404 Errors

I am hoping that someone may have the answer to this. I created a new site on IIS (full disclosure, I created the first one incorrectly and removed it, if that matters). My IIS server has several ...
user avatar
  • 11
0 votes
2 answers
59 views

Is there a technical requirement to serve 404 responses?

Is there a technical requirement (e.g., RFC) to serve a 404 response? Or does some other problem emerge if requests not found are dropped or replies empty?
user avatar
  • 2,698
0 votes
0 answers
25 views

Apache Filesmatch regex issue

I'm trying to block all files that contains the keyword cpf and I've entered this into the apache2 configuration: <FilesMatch "cpf.*$"> Require all denied </FilesMatch> and ...
user avatar
0 votes
1 answer
62 views

Cannot access my website

everyone! I'm linux-enthusiast and I have an issue with an nginx on debian VPS. Until recently I could access my static website but now I can't. This is my sites-available/example where example is my ...
user avatar
0 votes
0 answers
40 views

Apache log says "404" but my ErrorDocument is ignored and browser says "The requested URL ... has moved"

I'm trying to setup some customer error pages on our Apache servers, which seemed straightforward. The 503 is working right, but the 404 is not. They're setup the same: <LocationMatch "/my/...
user avatar
2 votes
1 answer
817 views

NGINX block location access and redirect to custom error page

I have a issue with my NGINX setting with redirecting to a custom error page on another location (incl. css, images, js) if a error page should be thrown. At first I would like to block access to an ...
user avatar
1 vote
2 answers
46 views

ErrorDocument and extension less links not working together

On my website, I have the following code to omit the extension of php pages RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^\.]+)$ $1.php [NC,L] I also added ...
user avatar
  • 251
0 votes
0 answers
123 views

Erreur IIS 10.0 HTTP 404.0 - Not Found

https://i.stack.imgur.com/W5AU8.png Hello I try to connect to the localhost of the phpadmin and its always giving me the same answer I put the photo on it, I do not see where its could come from ...
user avatar
  • 1
0 votes
0 answers
45 views

Test for no 404 error before enabling RedirectMatch?

I have a RedirectMatch to a remote server in my Apache httpd.conf file. However, sometimes the remote server gives a 404 HTTP response. Is there a way for the Apache server to ping the remote server ...
user avatar
  • 141
0 votes
0 answers
235 views

Nginx revere proxy Websocket error 404

i'm working with two Nginx one behind the each other. Our Infraestructure it's like this infraestructure Problem I've problems with websocket connections, when i send the request to Nginx Proxy pass ...
user avatar
0 votes
0 answers
50 views

Throwing 404 errors AWS

What might be the possible reason why the 502s were being returned here? The 403s also look like WAF is firing them. Could anyone please suggest a way to allow those resources to be safely given to ...
user avatar
2 votes
2 answers
225 views

Why is Apache2 not finding my WSGI app?

In my previous question, I asked how to make mod_wsgi use a specific Python version. Following the answer from that question, I created a Python 3.9 virtual environment and made WSGI use it. However, ...
user avatar
1 vote
1 answer
1k views

IIS 10 URL Rewrite giving 404 error

I am currently stuck with my rewrite rules, and I would need some hints about it. Here's the situation : We have two websites, one is website.com, the other one is website-staging.com (just examples ...
user avatar
  • 489
0 votes
0 answers
161 views

Raspberry pi running nginx responds 200 for localhost, 404 when accessed through hostname

I have set up a vanilla installation of nginx on a raspberry pi. server configuration: server { listen 80; listen [::]:80; root /home/pi/www; index index.html index.htm; ...
user avatar
  • 101
-1 votes
1 answer
313 views

Setting up a catchall with NGINX

I'm having a problem with my nginx server configuration. The current behavior is that if a domain can't be found in any of the configuration files, it will redirect to a random other configuration. ...
user avatar
  • 185
0 votes
1 answer
321 views

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 ...
user avatar
  • 101
1 vote
1 answer
1k views

Nginx/1.18.0- 403 Forbidden - PHPIPAM on Ubuntu 20.04

I'm trying to get phpIPAM working on my Ubuntu but I have some problems: solving this 403 Forbidden error. When I run tail -f /var/log/nginx/error.log, I see this: [error] 2898#2898: *1 directory ...
user avatar
  • 11
1 vote
1 answer
112 views

Nginx - Some resources not found, when they were previously being loaded

I have just encountered a very weird issue. Some of the fonts that I have used in my website and an svg are not loading, while yesterday everything was working fine. The only changes that I've ...
user avatar
0 votes
0 answers
37 views

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 ...
user avatar
  • 101
1 vote
1 answer
282 views

Nginx + Express app in subdirectory/location, returning 404

I want to make an express app accessible through http://website.com/app and use nginx as a reverse proxy as well as to serve static files. This is my nginx configuration: upstream app { server ...
user avatar
  • 11
0 votes
1 answer
81 views

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-...
user avatar
  • 103
0 votes
0 answers
198 views

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 ...
user avatar
0 votes
1 answer
1k views

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 ...
user avatar
  • 11
0 votes
1 answer
632 views

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 ...
user avatar
  • 101
0 votes
0 answers
165 views

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 ...
user avatar
0 votes
0 answers
67 views

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://...
user avatar
  • 101
0 votes
1 answer
146 views

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. ...
user avatar
  • 103
0 votes
0 answers
210 views

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 ...
user avatar
0 votes
1 answer
306 views

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 ...
user avatar
  • 129
2 votes
1 answer
338 views

How to use local error_page when remote error_page not found?

I'm trying to create a fallback for my error_page. Basically, the logic should be something like the following: load foobar.html does not exist on remote server -> load 404.html from remote server ...
user avatar
  • 316
1 vote
0 answers
29 views

Why are my error logs full of 404s for "adult" content?

Idly perusing my site's error logs this morning, I was shocked to discover that a large number of rather explicit had been requested. (I don't mind telling you that I very nearly sprayed my cold brew ...
user avatar
-1 votes
3 answers
4k views

How can i do a redirect with 404 as status code in Nginx [closed]

We have moved our website to a new domain and our SEO department want to have some redirect from the old urls to the new urls with 404 status code. I dont know if it is possible and want to collect ...
user avatar
  • 109
0 votes
1 answer
135 views

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 ...
user avatar
1 vote
0 answers
797 views

Nginx - Laravel routes not working in a sub directory

I am trying to run laravel on aws server in a sub-directory, the website functions properly when pointed to root location, but when pointing it to a sub-directory in a URL the routes does not work, i ...
user avatar
0 votes
1 answer
208 views

Can't configure a clone of Crowd - /crowd/console/ Not Found

I'm attempting to create an instance of Crowd, mirroring its Live counterpart for our Testing environment. I've cloned the container and changed some few key configuration, as described below. The ...
user avatar
0 votes
0 answers
156 views

IIS 8.5 getting 404 for some images and not others in same folder

I've seen a number of posts about getting a 404 for all files or all files of a certain type. In my case, some files can be accessed and some can't. I open IIS, click on the website and switch to ...
user avatar
0 votes
1 answer
2k views

php-fpm couldn't find script until I moved in a specific directory

This morning I had a strange problem about finding php script files with Nginx and Php-fpm. I solved it, but I didn't understand what the problem actually was. Some details: I'm on Arch Linux and ...
user avatar
0 votes
1 answer
160 views

NginX redirect not working properly

I set up a redirecrt for NginX like this: location / { try_files $uri $uri/ @rewrite; } location @rewrite { rewrite ^/(.*)$ /index.php?permalink=$1 last; } it is working fine for thousands ...
user avatar
3 votes
1 answer
3k views

If file exists, redirect to a certain file, else redirect to 404 from htaccess

I have this tree: libs/ html/ app/ uploads/ files/ images/ male.png female.png .htaccess download.php .htaccess index.php /.htaccess has this content: <IfModule ...
user avatar
0 votes
1 answer
57 views

How to block attempts for phpMyAdmin? [closed]

I converted my website from asp.net to .net core and host on same server. Now, website gets hundred of hits daily from different IP's trying to access like below /php-myadmin/ /wp-content/ /mysql/ ...
user avatar
0 votes
1 answer
480 views

Squid negative_ttl not working

Setup $ squid -v Squid Cache: Version 3.5.20 Service Name: squid configure options: '--build=x86_64-koji-linux-gnu' '--host=x86_64-koji-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/...
user avatar
-1 votes
3 answers
806 views

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 ...
user avatar
0 votes
0 answers
1k views

nginx returns 404 although the server is running and log files are being written. In the root it returns 403. Details inside

I'm not a sysadmin, I'm just a vision programmer who's trying to set up his friend's API in a localhost. I'm using nginx, and the config file my friend gave me was this: server { listen **.48....
user avatar
0 votes
1 answer
447 views

404 Response from NGINX when trying to setup mediawiki short urls

I have NGINX setup to serve content over localhost with HTTPS. Using the following location block, I can serve mediawiki just fine (it is in the /w folder) location ~ /w/(.*)(\.php)?$ { index index....
user avatar
0 votes
1 answer
415 views

Nginx + Passenger: Cache 404 urls

Context I have a Rails app with a nginx server and Passenger. The app is dynamically generating pages based from the request url: if the url exists in the database the app renders the corresponding ...
user avatar
  • 53
1 vote
1 answer
73 views

WordPress site not throwing 404 for invalid URLs | Nginx - Ubuntu 16.04

I've set up a LEMP environment on an Ubuntu 16.04 machine, following the How To Install WordPress with LEMP on Ubuntu 16.04 tutorial on DigitalOcean's community archive. All works great, except for ...
user avatar

1
2 3 4 5
8