I have a domain is 'http://test.com'. I create another domain is 'http://s.test.com'. I want image upload, css cache and js cache store in 'http://s.test.com'. What should I do?
Sorry! My english is bad.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- rajmohan@rajmohan
rajmohan - 0 likes
- Juho Jaakkola@juho.jaakkola
Juho Jaakkola - 0 likes
- Peter_man@thoigian15_6673
Peter_man - 0 likes
- Steve Xenakis@SteveXenakis
Steve Xenakis - 0 likes
- Steve Clay@steve_clay
Steve Clay - 0 likes
You must log in to post replies.Hi Peter
Please refer this pages
Check this link and this
I assume Peter_man wants to use the actual site from http://test.com and just serve the images, css and javascript from a separate server (http://s.test.com)? Correct?
Yes, Juho is right. I try to change dataroot but not happen.
This comment was removed by a moderator because it contained advertising.
This is very difficult to set up currently though we plan to make it easier.
Basic steps are to get Elgg to serve same files on both domains (the hard part), then use view filtering ("view" plugin hook) to alter the location of the JS/CSS in the markup.