Register / Login
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
Other Java Products and Servers
How to use error folder of Apache instead of htdocs folder to view error page?
posted 4 years ago
I have a folder(PageNotFound) that contains a html, a css and a png file which together form my custom page not found page.
I have placed this folder in Apache2/error and have the following in my httpd.conf
ErrorDocument 404 /error/PageNotFound/page404.html
However when run, Apache sticks a htdocs in the url looking for the page in /Apache2/htdocs/error/PageNotFound/page404.html
How can I change this to search tht error folder instead?
Also the css and the png don't seem to be picked when I put my files in htdocs.
posted 3 years ago
Have you checked the instructions listed
SCJP 5 | SCWCD 5
How to ask questions
Boost this thread!
tomcat6 and apache
Apache 2 and Tomcat 7 on Ubuntu 10.04 in VirtualBox 4.06xxx
Tomcat + Apache first time
How to replicate page 404 in Tomcat 7.0 (running in Eclipse)