Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
20
rated 0 times [  20] [ 0]  / answers: 1 / hits: 42288  / 2 Years ago, mon, april 11, 2022, 2:50:10

I want to customise the 404 page of my Apache Webserver on Ubuntu to something other than the general:



Not Found

The requested URL /***** was not found on this server.
______________________________________________________

Apache/*.*.** (Ubuntu) Server at **** Port 80


How can this be accomplished?


More From » apache2

 Answers
1

I found the answer myself.



You have to edit the file /etc/apache2/conf.d/localized-error-pages



sudoedit /etc/apache2/conf.d/localized-error-pages


You can enter plaintext or link to a script or html


[#44222] Monday, April 11, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
farnic

Total Points: 409
Total Questions: 117
Total Answers: 125

Location: Andorra
Member since Sat, May 27, 2023
1 Year ago
;