CloudFilesProviderWebError Field |
The Web-Error metadata key, which specifies the suffix for error pages displayed for a website.
Namespace: net.openstack.Providers.RackspaceAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public const string WebError
Public Const WebError As String
public:
literal String^ WebError
static val mutable WebError: string
Field Value
Type:
StringRemarks
You may create and set custom error pages for visitors to your website; currently, only
401 (Unauthorized) and 404 (Not Found) errors are supported. To do this, set the metadata
value
WebError.
Error pages are served with the <status> code prepended to the name of the error
page you set. For instance, if you set WebError to error.html,
401 errors will display the page 401error.html. Similarly, 404
errors will display 404error.html. You must have both of these
pages created in your container when you set the WebError metadata, or your site
will display generic error pages.
You need only set the WebError metadata once for your entire static website.
Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also