Jump to content

Recommended Posts

Posted

Thanks for the reply, MoneyBroz. For me, it seems all domains (primary and addons) all share the same common `error_documents` directory. Am I missing a setting where I can specify where each addon domain's error_documents is located?

Posted

In this case, you can use the Errordocument directive in .htaccess for each domain. for example:

# For 403 errors
Errordocument 403 /errors/403.html

# For 404 errors
Errordocument 404 /errors/404.html

Note that you can name the folders/error pages anything you want.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...