
Am 14.02.2013 10:12, schrieb Sven Anders:
Am 12.02.2013 23:16, schrieb Ján Máté:
Hi,
Thanks for the answers!
Access-Control-Allow-Origin: http://calendar.hannover.anduras.office, http://calendar, http://addressbook.hannover.anduras.office, http://addressbook
Do you see anything wrong here?
Yes - it is wrong. You cannot use Access-Control-Allow-Origin with multiple origins separated by comma ... if you really need to allow multiple origins, you need to define them separately:
.... Header always set Access-Control-Allow-Origin http://calendar.hannover.anduras.office Header always set Access-Control-Allow-Origin http://calendar Header always set Access-Control-Allow-Origin http://addressbook.hannover.anduras.office Header always set Access-Control-Allow-Origin http://addressbook ....
Ok, I tried:
Header always add Access-Control-Allow-Origin http:/... ^^^ I used add here, not set!
But I does not seem to work. The "W3C Candidate Recommendation" says, it should be possible to use a list separated by spaces, but the "add" command makes a list with commas. Maybe here is the problem. Now it works, thanks!
Ok, this was too fast! It worked, because I accessed the last entry in the list. If I try any of the other domains it does not work. I seems, that only one entry is allowed and the browser uses the last entry, if you have multiple given. At the moment I must use "*"... Maybe anybody other has an idea? Regards Sven -- Sven Anders <anders@anduras.de> () UTF-8 Ribbon Campaign /\ Support plain text e-mail ANDURAS intranet security AG Messestraße 3 - 94036 Passau - Germany Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55 Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht: Passau HRB 6032 Mitglieder des Vorstands: Dipl.-Inf. Sven Anders, Dipl.-Inf. Marcus Junker Vorsitzender des Aufsichtsrats: RA Mark Peters