Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
Hello, guys.
Faced an incomprehensible problem with ssl connections.
I posted chat on a subdomain.
Headers are transmitted without problems according to rule specified in .htacces,
but all this only works if chat works over http, if chat
switch to https then no headers are passed and i get error:
[== Undefined ==]
No 'Access-Control-Allow-Origin' header is present on the requested resource.
I think there is no rule for accessing static files.
I am unable to set server configuration because i am using virtul hosting and no have access, but i can change it via .htacces.
Guys help me solve this problem please, what else do i need to add to .htaccess to make it work nicely?
Offline
That's your server configuration problem. Please refer to
https://doc.livehelperchat.com/docs/int … her-domain
Nginx version
https://doc.livehelperchat.com/docs/ngi … ation-tips
Offline
That's your server configuration problem. Please refer to
https://doc.livehelperchat.com/docs/int … her-domainNginx version
https://doc.livehelperchat.com/docs/ngi … ation-tips
Yes! Yes!
I read this,
but i do not have access to server configuration.
...i have virtual hosting and i can only change htacces.
I added a rule for headers: header always Set Access-Control-Allow-Origin and etc,
but i can't change anything else more.
Offline
issue resolved
rather not resolved
host works on nginx an rules htacces don't apply.
Offline
but i do not have access to server configuration.
...i have virtual hosting and i can only change htacces.
I added a rule for headers: header always Set Access-Control-Allow-Origin and etc,
but i can't change anything else more. cry
If you have no server full access control you can have issue, try to contact your hosting.
PeopleInside - Live helper chat - free limited forum support!
For commercial support or GitHub [see FAQ here]
If you want to support this open source project, just donate [see support page]
Something wrong with the forum? [contact a superhero]
Offline
If you have no server full access control you can have issue, try to contact your hosting.
techsupport - is stupid...
...they don't even know what the hosting is running on, they think that it is on apache and assure that everything should work.
tell me which php file script generates?
for example: design/defaulttheme/js/widgetv2/index.js?
i try add in php.
[== HTML ==]
<?php
header('Access-Control-Allow-Origin: *');
?>
only you tell me what this script generates?
Offline
I don't know nginx, I'm with Apache so I cannot help much I think.
You should try to search on the web maybe or let's see if remdex, the developer can help you more.
PeopleInside - Live helper chat - free limited forum support!
For commercial support or GitHub [see FAQ here]
If you want to support this open source project, just donate [see support page]
Something wrong with the forum? [contact a superhero]
Offline
I don't know nginx, I'm with Apache so I cannot help much I think.
You should try to search on the web maybe or let's see if remdex, the developer can help you more.
some kind of stupid idea - everyone hosts providers switches to nginx.
and user cannot change settings for virtual host, now nginx configuration is common for whole server.
earlier on apche this could be done through .htacces.
Offline
If you have issue on your hosting you can try the hosted version of live helper chat:
https://livehelperchat.com/order/now or setup a VPS with your self-hosted live chat
PeopleInside - Live helper chat - free limited forum support!
For commercial support or GitHub [see FAQ here]
If you want to support this open source project, just donate [see support page]
Something wrong with the forum? [contact a superhero]
Offline
If you have issue on your hosting you can try the hosted version of live helper chat:
https://livehelperchat.com/order/now or setup a VPS with your self-hosted live chat
Yes, that's a good idea
but how to implement chat with a subdomain on nginx on my virual host?
I have a little experience in development, you just tell me what script handles and i'll try to insert a header.
Offline
Sorry but as told I have no idea about nginx
PeopleInside - Live helper chat - free limited forum support!
For commercial support or GitHub [see FAQ here]
If you want to support this open source project, just donate [see support page]
Something wrong with the forum? [contact a superhero]
Offline
Sorry but as told I have no idea about nginx
no no!!!
....you have nothing to apologize.
you are great and cool guys
this is my provider - complete rubbish
Offline
also i add this
[== PHP ==]
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE');
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, API-Key, Authorization");
in inex.php, but no result
Offline
Because headers are required for static js file not for php.
Offline
Because headers are required for static js file not for php.
yes.
i already did it out of despair
because i don't know how to start it.
and on server all statics are handled by nginx, and i do not have access to it.
techsupport doesn't want to change configuration either.
please help: how do i add a header to js?
Last edited by milatovskaja (2020-11-27 18:12:58)
Offline
Pages: 1