Why can't i set my error pages?

Forbidden

You don’t have permission to access /panel/indexpl.php on this server.

I get this whenever i am trying to set my error pages.
I don’t have the source files for the website in htdocs, but in mywebsite.de/htdocs/{here} and the website is working without problems.

To resolve this issue i tried to:

  1. put the files in the original htdocs/404.html - didn’t worked
  2. put the files in the original htdocs/error/404.html - didn’t worked
  3. put the files in mywebsite.de/htdocs/404.html - didn’t worked
  4. put the files in mywebsite.de/htdocs/error/404.html - didn’t worked

Can someone help me with it? I saw there we’re already 3 topics made about it but i tried something from them, didnt worked, and what i didn’t tried is what i haven’t understood.

Edit:
i also tried to put there the following links but they we’re not accepted:
/404.html
/error/404.html
https://mywebsite.de/404.html
https://mywebsite.de/error/404.html

The error pages tool in the control panel is pretty annoying. There are really strict security filters on all their forms which will block any content that it doesn’t expect.

If you read some of the other (recent) topics about this, you probably know that I usually tell people to ignore the control panel feature and just use the one in the client area instead, which is a lot more flexible.


Also, the error pages tool in the control panel doesn’t actually look at what files you have in your account, it just sets a URL. The client area tool can actually load files, and will check for you if that file is present.

3 Likes

i didn’t know you had it in the client area, that’s so cool and easy, thanks! <3

1 Like

also you can just edit your .htdocs file like this:
!!! Watch out not to edit the first .htaccess, it writes you also a warning message in it !!!

ErrorDocument 400 https://website.com/path-to/400.html
ErrorDocument 401 https://website.com/path-to/401.html
ErrorDocument 403 https://website.com/path-to/403.html
ErrorDocument 404 https://website.com/path-to/404.html
ErrorDocument 500 https://website.com/path-to/500.html
ErrorDocument 503 https://website.com/path-to/503.html
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.