dolrich fortich

Registered
Jan 3, 2019
2
0
1
Philippines
cPanel Access Level
Root Administrator
I'm trying to use this app but having problem sending CORS to the response.

Is there a specific .htaccess I can modify to be able to send the CORS header?

I tried updating this file but it seems to be not doing anything.
/usr/local/cpanel/base/horde/.htaccess
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
6,852
904
313
cPanel Access Level
Root Administrator
Hey there! I'm a bit confused by your question as you mentioned Horde, but CORS is an Apache header.


Can you let me know what errors you're getting in the application?
 

dolrich fortich

Registered
Jan 3, 2019
2
0
1
Philippines
cPanel Access Level
Root Administrator
So the application is use to load the calendars on a user on Cpanel.

This is the application on Cpanel that it connects to.

I tried finding where the files are located for this Cpanel application and found it under Horde folder from a couple of testing.
From my tests, the url was serving this file
/usr/local/cpanel/base/horde/rpc.php

So the caldavzap client is a javascript implementation which resides on a different server which makes it encounter the CORS issue.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
6,852
904
313
cPanel Access Level
Root Administrator
Thanks for the additional details. I asked around and it doesn't seem that it is currently possible to change that behavior. It might be best to open a feature request using the link in my signature if you wanted to see that functionality added in the future.