Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Need some help in loading a file from second domain

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
asdcxz
Posts: 14
Joined: Fri Dec 11, 2015 11:34 am

Need some help in loading a file from second domain
  • Quote

Post by asdcxz » Fri Jan 08, 2016 5:05 pm

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
Top

asdcxz
Posts: 14
Joined: Fri Dec 11, 2015 11:34 am

Re: Need some help in loading a file from second domain
  • Quote

Post by asdcxz » Sat Jan 09, 2016 5:55 am

Hi,

can someone help me to solve this.

Thanks,
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Need some help in loading a file from second domain
  • Quote

Post by skurudo » Tue Jan 12, 2016 10:14 am

Try this topic, it may help you:
viewtopic.php?t=7258
Top

asdcxz
Posts: 14
Joined: Fri Dec 11, 2015 11:34 am

Re: Need some help in loading a file from second domain
  • Quote

Post by asdcxz » Wed Jan 20, 2016 4:36 pm

skurudo wrote:Try this topic, it may help you:
viewtopic.php?t=7258

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
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Need some help in loading a file from second domain
  • Quote

Post by skurudo » Thu Jan 21, 2016 8:57 am

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)
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password