Info: The described steps can only be performed on the on-premise version of Studio Server, not on the cloud version.
One of the ways of adding files from Assets to Studio is by dragging files to the Pinned Dossiers panel of Assets.
To display Dossiers in the panel, a connection needs to be made between Assets and Studio Server.
To make this work, configuration steps are required in the Apache Web Server and in Studio Server.
Note: This prevents the following issues from occurring:
|
Step 1. Make sure that no wildcard character is used in the connection to Assets by removing or disabling the following line in the httpd.conf file of Apache:
# Header set Access-Control-Allow-Origin "*"
Step 2. Configure the CROSS_ORIGIN_HEADERS option in the config_overrule.php file of Studio Server as follows:
define( 'CROSS_ORIGIN_HEADERS', serialize(array(
'https://[ElvisURL]' => array(
'Access-Control-Allow-Credentials' => 'true',
'Access-Control-Allow-Methods' => 'GET, POST, OPTIONS, DELETE, PUT, HEAD',
'Access-Control-Allow-Headers' => 'Origin, X-Requested-With, Content-Type, Accept, X-WoodWing-Application, X-Frame-Options'
),
)));
Step 3. (Optional) When using the X-Frame-Option setting in reverse proxy or Apache, set it to [EnterpriseURL] and not to sameorigin.
Comments
Do you have corrections or additional information about this article? Leave a comment!
Do you have a question about what is described in this article? Please contact support here.
0 comments
Please sign in to leave a comment.