The instance solves the problem of http403 error during xpage access.

Source: Internet
Author: User
Tags xpage
Some time ago, I tried the xpage function in domino8.5. However, browsing xsp files may not be accessible by the browser for a long time, so there is very little information about xpage on the network, the answer was lost. Today, we accidentally discovered a solution to this problem. The following describes the complete example.

1. Create a test form in the test database and fill in several fields at will. For example:

2. Create a document based on this form to display data later.

3. Create an attempt test based on the above documents as the data source for creating xpage. For example:

4. Create an xpage named test as the data source. For example:

5. view test on the web and try to display the Web display effect of Domino.

6. Enter the created xpage in the browser at http: // yourserveraddress/xtest. NSF/test. xsp, the browser will prompt that the access is inaccessible, no matter how you modify the design, or ACL, JVM settings, server permissions, etc., it will not work (under IE8 ):

At this time, check the domino console and you will see two lines of error information, which probably means that security issues do not have access permissions and the like:

15:47:14 http jvm: SERVER: clfad #### E: security exception occurred servicing request for:/xtest. nsf/test. xsp-HTTP CoDE: 403

15:47:14 HTTP web server: You are forbidden to perform this operation [/xtest. nsf/test. xsp]

7. At this time, you only need to sign the database with the server identifier:

8. Browse test. xsp again and find that the page can be displayed normally. The display effect of xpage is much better than that of the self-built web, and the page splitter is also provided:

9. perform a test. At this time, use the current user ID to sign the database, or modify test on the designer. xsp and save (that is, make the last modifier as the designer), and then browse test again. xsp will find the same error in step 6 above. Does this mean that the xpage signer must use the server ID to access the website?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.