virtualmin and CORS

hello -

i am getting this nasty looking message when running over a proxy-server:

XMLHttpRequest cannot load 
   No 'Access-Control-Allow-Origin' header is present on the requested resource. 
   Origin '' is therefore not allowed access.

some forums have suggested that apache needs to have a CORS setting. i tried putting

Header set Access-Control-Allow-Origin "*"

in the dot-access file but that didnt work.

any thoughts?


If you need this for Apache, then create a “.htaccess” file and place it in the root of your website with the following line.

Header set Access-Control-Allow-Origin "*" Best Regards, Peter Knowles TPN Solutions

Phone: 604-782-9342
Skype: tpnsupport

Ask me about my new support plans which include a FREE copy of Virtualmin Pro!!!