Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Just moved over to a new hosting provider, where they use Plesk as the control panel. On my previous hosting and locally I the custom 404 page is working OK.
On the new hosting (eHosting), I get a white page with 'The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.'.
The web config has:
<customErrors mode="Off" />
have also customErrors tried
<customErrors mode="On"> <error statusCode="404" redirect="404.aspx"></error> </customErrors>
The umbracoSettings is set with the id of the 404 page:
<errors> <!-- the id of the page that should be shown if the page is not found --> <!-- <errorPage culture="default">1</errorPage>--> <!-- <errorPage culture="en-US">200</errorPage>--> <error404>1082</error404> </errors>
From the Plesk control panel, the custom error page has been setup to point to 404.aspx
Was wondering if anyone has the 404 working under Plesk?
Updated the system.Webserver to
<system.webServer> <httpErrors existingResponse="PassThrough" />...<system.webServer>
and now have the 404 working for all .aspx pages. But no joy with the other extensions (.png, php, .html etc...)
Manage to get the 404.aspx working for all file types.
<httpErrors existingResponse="PassThrough" />
and updated the web.config to:
<system.web> ... <customErrors mode="Off" />...<system.web>
<system.webServer>...<httpErrors> <remove statusCode="404" subStatusCode="-1" />
<error statusCode="404" prefixLanguageFilePath="" path="/404.aspx" responseMode="ExecuteURL" /></httpErrors></system.webServer>
If someone could relpy, so I can resolve the ticket that would be great.
I'm coming across the same issue with my hosting, same situation. I havent found a fix for this yet, anyone come across anything?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted