Product:
Search Type:

[How To] How to create custom error pages

Article ID: 5279 
Last Review: May,26 2008
APPLIES TO:
  • Plesk 8.x for Windows

RESOLUTION

If it is necessary to use .php., .asp, etc applications on the domain.

 

First of all make sure that this extension is allowed in IIS and for the domain.

 

In Plesk Control Panel create a virtual directory for custom error document files: Domains, domain.name, Web Directories, AddNewVirtualDirectory (it will be created on the server in %plesk_vhosts%\domain.name\httpdocs\)


Create a new file (script that will be run on this error):

Domains, File Manager, httpdocs, Created Virtual Directory, Add new File

 

Choose created file to be processed for the needed error:

Domains, domain.name, Web Directories, Error Documents, needed error , Location.
It needs to specify it in the following manner:

Type: URl

Location: /Created_Virtual_Directory/file.name

 

Note: Do not create custom files in %plesk_vhosts%\domain.name\error_docs\ directiry, it will not be processed, because %plesk_vhosts%\domain.name\httpdocs\ used as home directory for custom files.


Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields