Questions tagged [http-status-code-404]
404 is the HTTP status code for "Not Found"
395 questions
0 votes
0 answers
41 views
Cache strange bug - Website inaccessible or bad display
We migrated our site to Cloudflare two years ago, and we’ve never had this kind of problem. Our site has always worked well, and a very strange bug has been occurring for a few days. Indeed, the site ...
0 votes
1 answer
104 views
subdomain redirect to domain, BUT, if I type "subdomain/index.php" (or index.html), it does work and display the page properly (Apache2 & Wordpress)
My VPS crashed some time ago, everything was working as expected. I host 2 Wordpress sites on this server, "domain" and "sub.domain". My apache2 .conf and le-ssl.conf files are the ...
0 votes
4 answers
130 views
nginx wont show site.com/statz - why?
I've configured nginx to host a website at website.com, blog.website.com, but now when I make a new config in /etc/nginx/sites-available - it wont allow me to access content in the path: website.com/...
1 vote
1 answer
199 views
How to block access to specific files via fail2ban?
Within my logs there are loads of accesses to files that do not exist, typically to WP- or phpMyAdmin installations. These are obviously automated scripts that try to find security vulnerabilities. My ...
1 vote
0 answers
59 views
weird /ws/info requests on our server: is our client compromised?
We have a big website on a virtual server that runs fine. We have a few hundred clients. Since a few weeks, we saw that with exactly ONE of these clients there were 404 references to hrefs like www....
0 votes
1 answer
726 views
NGINX shows index but 404 when opening other path
My server runs NGINX. When visiting DOMAIN.org I can see my index page getting presented correctly. Visiting any other link such as DOMAIN.org/path1 results NGINX showing the standard 404 page. My ...
1 vote
1 answer
994 views
Nginx reverse proxy to apache server, redirection gives 404
I have this setup with angular and spring boot project having nginx reverse proxy to apache for serving angular application and embedded server for spring boot reverse proxied through nginx. Now I am ...
1 vote
0 answers
1k views
All routes return 404 with Symfony app and nginx
I think title says it all, this is my nginx config file. I should mention that locally everything is working fine in dockerized environment so I think it will be nginx related problem. Also the React ...
-1 votes
1 answer
2k views
nginx refuses to redirect all 404 pages to my index.html
I want Nginx to redirect all pages that are 404 to my index.html. This nginx is running as a container. Yes I have confirmed nginx is actually being reached as the docker-compose log output shows the ...
1 vote
1 answer
1k views
Nginx throwing 404 errors when assets from subfolder of the root are requested
My nginx config file looks like: passenger_enabled on; passenger_ruby /home/inspection/.rbenv/shims/ruby; rails_env production; root /home/inspection/app/current/public; location /build/ {...
1 vote
2 answers
2k views
404, 50x error handling HTML pages in nginx is not detected
nginx version: nginx/1.18.0 This is my 'nginx' conf default 'vhost': cat /etc/nginx/sites-enabled/000-default server { listen 80; listen [::]:80; server_name example.org; return 301 ...
1 vote
1 answer
720 views
Trapping misformatted paths to Redirect to 404 instead of returning 403
Owing to an error long ago our company web site has been serving image URLs containing a significant amount of white space. E.g. http://www.example.com/ /assets/ProductPhotos/...
0 votes
1 answer
179 views
Where can i find the 404 template from OpenLiteSpeed?
I want to change/customize the standard 404 (Not Found) page/template from OpenLiteSpeed. But where can i find the 404 file via terminal? I'm searching in: cd /usr/local/lsws/ But can't find it. Can ...
0 votes
1 answer
199 views
asp.net cannot upload more than 25mb or receive 404 - File or directory not found
The upload used to work without issue before, and I cannot find anything that might have changed, except I did do updates on all servers. I rebooted all servers and tried uploading files, and the 404 ...
1 vote
0 answers
176 views
Change return path nginx
I'm trying to get file downloading in the local Telegram Bot API work. I found an example on github how to do it with nginx: https://github.com/aiogram/telegram-bot-api/tree/master/example. It's ...