CODE
ErrorDocument 404 /www/zxq.net/o/r/a/oracle-nui/htdocs/error404.html
ErrorDocument 403 /www/zxq.net/o/r/a/oracle-nui/htdocs/error403.html
ErrorDocument 403 /www/zxq.net/o/r/a/oracle-nui/htdocs/error403.html
Below is what the server returned when I tried to test it out by going to a URL on my site that doesn't exist (like "~/test")
CODE
Not Found
The requested URL /test was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
The requested URL /test was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
The ErrorDoc exists on my server at ~/htdocs/error404.html.You can find it there.
That means that either the FTP Path is wrong or I haven't configured my ErrorDoc correctly.Please help!
[Edit:I tried doing a 403:Forbidden file,and here is the error the server returned when I tried to test it (by going to the ~/htdocs/ directory,which doesn't have a index file):
CODE
Forbidden
You don't have permission to access /htdocs/ on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
You don't have permission to access /htdocs/ on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
And the file is located at ~/htdocs/error403.html.]