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

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

    #1

    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?
  • bogdan.sh
    Administrator
    • Nov 2016
    • 1221

    #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

    • Guest

      #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...