Announcement

Collapse
No announcement yet.

How to allow Access-Control-Allow-Origin from within CloudLinux and/or WHM/cPanel?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to allow Access-Control-Allow-Origin from within CloudLinux and/or WHM/cPanel?

    I need to adjust Apache Header setting for the Access-Control-Allow-Origin to only allow remote content from https://www.mydomain.com. Whats the correct syntax and method to use for adding that?

  • #2
    Hi,

    I tried searching with google however do not have ready answer for you. But it should be same as on any other apache server without CloudLinux .

    Comment


    • #3
      Thank you, yes I searched too and found little specifics. I am trying a few things client-side with JS to try to get around this, but some XSS issues are arising. Still working on it

      Comment

      Working...
      X