Plesk Error Pages
Guide cPanel WebHost Manager (WHM) Plesk SSL Certificates Specialized Help Offers & Bonuses Website Design Affiliates Helpful Resources Account Addons Billing System HostGator Blog HostGator Forums Video Tutorials Contact Us Interact plesk 12 custom error documents and Engage Put two or more words in quotes to search for custom error documents plesk a phrase: "name servers" Prepend a plus sign to a word or phrase to require its presence in an article: +cpanel Prepend a minus sign to a word or phrase to require its absence in an article: -windows Words of less than three characters are ignored. All searches are case-insensitive. Search [?] Support Portal Home » Plesk » Plesk 10 » Plesk 10 Client Side » Setting Up Custom Error Documents on Plesk 10 Linux VPS Setting Up Custom Error Documents on Plesk 10 Linux VPS Overview cPanel Plesk on Windows Plesk 10 VPS Please add this code to your .htaccess file in the httpdocs directory. ErrorDocument 403 /403.shtml
ErrorDocument 404 /404.shtml
ErrorDocument 500 /500.shtml
Next create a file named 403.shtml in your httpdocs folder. Now the 403 errors will yield the 403.shtml page. Repeat for 404.shtml and 500.shtml. You can even use existing pages as the resulting page. Say you don't want any visitors seeing 404 errors on your site. You can make your home page the result, like so: ErrorDocument 404 /index.html
If Internet Explorer is not displaying the custom error page, it is likely because the error page must be larger than 1 kilobyte. There are many error pages which may be defined. Client Request Errors 400 - Bad Request 401 - Authorization Required 403 - Forbidden 404 - Not Found 405 - Method Not Allowed 406 - Not Acceptable (encoding) 407 - Proxy Authentication Required 408 - Request Timed Out 409 - Conflicting Request 410 - Gone 411 - Content Length Required 412 - Precondition Failed 413 - Request Entity Too Long 414 - Request URI Too Long 415 - Unsupported Media Type Server Errors 500 - Internal Server Error 501 - No
Pleskian 0 Messages: 8 Likes Received: 0 Trophy Points: 0 I have done some google/forum searches but so far cant find the solution to my problem I want to setup custom error pages on my sites. After enabling custom errors in my package settings I go to Home > Subscriptions > package > Websites & Domains > Virtual Directories > Domain.com > Error Documents I click 404 from the list of error codes, I now have a drop box to select : Default, File, URL. Everything I have read says I need to put in a url relative to my site/page. In this case I have a page called 404.asp. So I put https://support.hostgator.com/articles/plesk/plesk-10/plesk-10-client-side/setting-up-custom-error-documents-on-plesk-10-linux-vps in /404.asp and get : Error: Wrong URL format. Please enter an absolute URL within the virtual host (site). I tried putting in a full absolute url i.e. http://www.site.com/404.asp and that doenst work either. It does up a 302 redirect in IIS7 though but thats about it if I go to the site directly in IIS and set up /404.asp it works fine as expected. I was using helm before plesk and in that I just set https://talk.plesk.com/threads/custom-error-pages.281153/ the relative path (/404.asp) so Im not sure why this is such a pain to get working, or why it isnt more clear what I need to put in the box (if Im doing that wrong). if you are with me so far.... my 404 page has a response.code = "404" to tell search engines etc the page doenst exist. In helm, on IIS6 this works fine but on IIS7 with plesk it does not. It refuses to load at all. I believe this is because Plesk sets up the custom page to be "Respond with a 302 redirect" using absolute url in IIS 7. If I leave the response.code in my code, it wont work, if I take it out, it does. so my questions are : - why cant I put in a relative url i.e. /404.asp? - why does plesk setup a 302 and not "Execute a url on this site" in IIS 7? Im using plesk 11 on windows web 2008, with IIS 7.5 knowntobe, Feb 8, 2013 #1 knowntobe New Pleskian 0 Messages: 8 Likes Received: 0 Trophy Points: 0 no help for this at all? plesk seems to be a nightmare to use compared to Helm, wish they offered help licences on VPS/Dedi's instead of Plesk knowntobe, Feb 15, 2013 #2 IgorG Forums Analyst Plesk Team 36 30% Messages: 21,241 L
chef:Ansvarig för VIP-konto:Pro DashboardMina produkterKontoinställningarMina förnyelserLogga utLogga inMenyHjälpSystemstatusTillbaka|Start Fullständig webbplatsHjälpWindows-värdtjänster (Plesk)Windows-värdtjänster (Plesk) HjälpKontakta oss kl. 9:00 - 18:00, må-fr 077 588 80 23 Set https://www.godaddy.com/help/set-up-a-custom-404-page-16005 up a custom 404 page404 pages display when someone tries to access a page on your website that doesn't exist. Our hosting accounts allow you to use your home page as your 404 page, or you can create a custom one. Server-side custom error scripts, such as ASP.NET and PHP, might not work on custom 404 pages because of how Web server software (i.e. IIS and Apache) handles them. Log in to your GoDaddy account. Click Web Hosting. Next to the hosting account you want to use, custom error documents click Manage. In the section for the domain you want to use, click Show More. Click Hosting Settings. Select Custom error documents, and then click OK. Click Virtual Directories. Go to the Error Documents tab. Navigate to the second page of errors, and then click 404. In the Location field, enter the URL of the 404 page you want to use, and then click OK. Error docs must be web-visible, i.e. in your httpdocs directory or hosted elsewhere.Var den här artikeln till hjälp?JaNejTack för din feedback.Vi är glada att vi kunde hjälpa till! Finns det något mer vi kan göra för dig?Det var tråkigt att höra. Hur kan vi vara till mer hjälp?SkickaAvbrytRelaterade artiklarVisa databasdetaljer med delade värdtjänstkontonBehöver du fortfarande hjälp?Kontakta vårt prisbelönta supportteamKontakta oss