Closed GoogleCodeExporter closed 9 years ago
just to clarify the directory for the subdomain is:
/var/www/vhosts/mysite.com/subdomains/apps/httpdocs/
And for my site:
/var/www/vhosts/mysite.com/httpdocs/
I'm adding the following script to my index file:
http://apps.mysite.com/min/g=js
And in my groups config I have:
'js' => array('http://apps.mysite.com/script/file1.js',
'http://apps.mysite.com/script/file2.js',
'http://apps.mysite.com/script/file3.js')
Thanks
Original comment by colin.me...@googlemail.com
on 29 Jul 2010 at 10:00
I'll reply on the support list:
http://groups.google.com/group/minify
Original comment by mrclay....@gmail.com
on 29 Jul 2010 at 2:17
I'll spare the list in this case. the values in groupsConfig.php must be file
paths, not URLs. You can use full paths like:
'/var/www/vhosts/mysite.com/httpdocs/js/myFile.js' or use // to substitute the
current docroot: '//js/myFile.js'
It's easiest to use Minify when the files are in the same docroot as Minify is
running. You should be able to do:
http://apps.mysite.com/min/b=script&f=file1.js,file2.js
or in groupsConfig.php:
return array(
'js' => '//script/file1.js',
// etc.
);
Original comment by mrclay....@gmail.com
on 29 Jul 2010 at 2:25
Perfect! Thankyou.
Original comment by colin.me...@googlemail.com
on 29 Jul 2010 at 3:31
Original issue reported on code.google.com by
colin.me...@googlemail.com
on 29 Jul 2010 at 9:22