spottoyou.blogg.se

Static website sample
Static website sample







Is the same as that of the default homepage to the bucket. That can preview the web page object of the corresponding format, the object contentĪfter you host a static website on a bucket, you must upload an object whose name When you use a custom domain name to access a static web page object by using a browser.When you use a browser to access an object, the object is downloaded as an attachment. Header is automatically added to the response: Content-Disposition:attachment. When you use the default OSS domain name to access a static web page object, the following.Whose name extension is HTM, HTML, JSP, PLG, HTX, or STM by using browsers: Take effect when you access static web page objects whose MIME type is text/html and

STATIC WEBSITE SAMPLE HOW TO

For more information about how to configure the ACLs of objects, see Configure ACLs for objects.įor security reasons, from Septemfor regions in the Chinese mainland,Īnd Septemfor regions outside the Chinese mainland, the following limits (ACL) of the object that is specified as the default homepage or default 404 page To allow anonymous users to access the object, you must set the access control list In the root directory of the bucket and allows anonymous access. The object that you specify as the default 404 page must be an object that is stored To access the static website that is hosted on an OSS bucket and a 404 error occurs,

static website sample static website sample

The default 404 page is the error page that is returned by OSS.Homepage, the object must also be stored in the subdirectory.

static website sample

The object that you specify as the default homepage must be an object that is stored

  • The default homepage that appears when you use a browser to access the static website.
  • When you configure static website hosting, you must specify the default homepage and







    Static website sample