Page 1 of 1
Need some help in loading a file from second domain
Posted: Fri Jan 08, 2016 5:05 pm
by asdcxz
Hi,
I need some help, actually i have domain1 which needs some files to be loaded from domain2/css.
but vestacp is blocking the access to the files domain2 ins working fine when we open domain directly.
Please help me,
This works with kloxomr, but i love vestacp for security easy use.
Thanks
Re: Need some help in loading a file from second domain
Posted: Sat Jan 09, 2016 5:55 am
by asdcxz
Hi,
can someone help me to solve this.
Thanks,
Re: Need some help in loading a file from second domain
Posted: Tue Jan 12, 2016 10:14 am
by skurudo
Try this topic, it may help you:
viewtopic.php?t=7258
Re: Need some help in loading a file from second domain
Posted: Wed Jan 20, 2016 4:36 pm
by asdcxz
I have tried the above method but it did not work for actually i was getting this error in chrome while loading the files.
Uncaught SyntaxError: Unexpected token <
serve-files.php?file=sub.1XXX.com/assets/js/jquery-ui.min.js&scheme=https:1 Uncaught SyntaxError: Unexpected token <
Please help me in solving this
Thanks
Re: Need some help in loading a file from second domain
Posted: Thu Jan 21, 2016 8:57 am
by skurudo
Do you use something like Firebug in Firefox or something like this?
And may be you can show logs when nginx or something block loading?
May be you can say, about what domain we talk? (real example)