Skip to main content

Questions tagged [custom-error-pages]

In web programming, a custom error page is used to replace the stock (often detail-less) error pages when the server cannot find the requested resource (i.e. status 404) or encounters an error (i.e. status 500). Use with a programming language or web server tag

1 vote
0 answers
28 views

Error 404 redirect not working in Django and static files not showing in edge

I am developing a single page webapp where I am trying to configure the error page if page not found so I have added proper settings but still my redirect not working on error page. Here is my ...
Chauhan Mukesh's user avatar
1 vote
1 answer
42 views

I have an HTML iframe issue in which I am trying to fix with CSS

i have tried a couple of fixes and even turned to chatGPT-4o (right after i looke on the internet and docs) I want to get this to be my error page which i redirect from a page i am fixing to ensure ...
Adam Hardwick's user avatar
-2 votes
0 answers
17 views

ERROR 400 doesn't print the Custom error status page [duplicate]

In my website Im facing the issue like I need to redirect to my custom page with the purpose to hide the version of Tomcat, which is displayed on the default 404 HTTP status page.But other error 404-...
GOKUL D's user avatar
0 votes
0 answers
31 views

How to Localize Error Pages in Rails: Static Pages, Controllers, or Middleware? [closed]

I see three potential approaches for handling error pages (404, 500, etc. errors): With Static Pages: Pros: Fast response time as pages are served directly from the web server. Can be easily cached ...
Leonid Traykovskiy's user avatar
0 votes
1 answer
39 views

not-found.tsx page in the context of multiple root layout.jsx in Next JS

I hope someone might be able to help. I have this page structure in my NextJS 14 app: app/ (admin)/ layout.tsx (web)/ layout.tsx page.tsx not-found.tsx Note ...
Gilles's user avatar
  • 1
0 votes
2 answers
119 views

Disabling custom error pages in Tomcat 9 based appservice on Azure

I have a Tomcat 9 based app service on Azure (see my stack attached) that has an in-out of season usage pattern and I need to swtich it to a lower app service plan for the summer. The app has been ...
Victor C.'s user avatar
0 votes
0 answers
16 views

404 page not displayed in django 4.2.6 [duplicate]

I'm trying to create a custom 404 error page in my Django project. However, instead of displaying my custom page, the browser just shows a white page with the text "Not Found". Here's what I ...
Mezzanine's user avatar
0 votes
1 answer
58 views

Why does my Nuxt application redirect to my hosting provider's 404 page and not my custom error.vue page?

I have a created my personal online portfolio using Nuxt 3 and when I intentionally enter an invalid URL in the development environment, my custom 404 page is displayed. However, after deploying my ...
Problem Child's user avatar
0 votes
0 answers
32 views

Background image not rendering in custom 404 page

I'm trying to set up a custom 404 error page in my Django project. The page renders correctly, but the background image is not showing up. I've ensured that the file name is correct and that it's ...
DragonFruit's user avatar
0 votes
1 answer
37 views

Issue with Custom 404 Page Rendering in Django

I'm encountering an issue with my custom 404 page rendering functionality in Django. Despite setting up the necessary components, the custom 404 page is not being displayed when a page is not found. ...
DragonFruit's user avatar
0 votes
0 answers
31 views

Error displaying a custom error in the production version nextjs

I use the dynamic route [...not_found] in the group by calling nextjs not Found(). In development mode, opening a non-existent page works, but not in production mode, an empty page with reading errors ...
Xokma's user avatar
  • 1
0 votes
0 answers
25 views

Correct way for a custom 404 page in Nginx?

What is the correct way to show a custom 404 page for non-existing subdomains in Nginx? My current approach is to provide a 404 page for every subdomain, and then define an another separate ...
Socrates's user avatar
  • 9,316
0 votes
1 answer
87 views

How to redirect http errors response? - Custom Error Page

I am working on a web app with springboot, I want to be able to redirect the user when requesting a page that doesn't exist. I've tried following this guide :https://www.baeldung.com/spring-boot-...
Joaquinm's user avatar
0 votes
0 answers
18 views

404 Error page is not displaying on subpages

Here is code of 404 page, import { useRouter } from 'next/router'; import Image from 'next/image'; export default function PageNotFound() { const router = useRouter(); const redirectToHome = () =&...
A Rahman's user avatar
1 vote
1 answer
105 views

Next.js app built with tauri does not show my 404 page

I have a next.js app with a file /app/not-found.tsx that works perfectly when using cargo tauri dev But when I compile the app with cargo tauri build or cargo tauri build --debug And navigate to a ...
Igors Igors's user avatar

15 30 50 per page
1
2 3 4 5
45