Closed GoogleCodeExporter closed 9 years ago
You'll need to tell Minify how those virtual directories (which are outside of
your
docroot) map back into the docroot (as seen by the client). Assuming your CSS
files
are at example.com/css/, you'll do this in config.php:
$min_symlinks = array(
'//css' => 'D:\\Dev\\i3webdesktop_dev\\resources\\css'
,'//images' => 'D:\\Dev\\i3webdesktop_dev\\resources\\images'
);
With this, the rewriting process will add the essential step ("symlink
unresolved")
to map the virtual folders back to the docroot:
file-relative URI : ../images/default/box/tb-blue.gif
path prepended :
D:\Dev\i3webdesktop_dev\resources\css\..\images\default\box\tb-
blue.gif
symlink unresolved :
D:\Dev\i3webdesktop_dev\system\globals\css\..\images\default\box
\tb-blue.gif
docroot stripped : \css\..\images\default\box\tb-blue.gif
traversals removed : /images/default/box/tb-blue.gif
Original comment by mrclay....@gmail.com
on 3 Nov 2009 at 2:10
$min_symlinks doesn't work with virtual addresses => http://www.....
Original comment by ramo...@gmail.com
on 27 Nov 2009 at 9:25
@ramonck: Minify can only rewrite paths on same system. I've added a wiki entry
for
UriRewriting for example usage.
Original comment by mrclay....@gmail.com
on 28 Nov 2009 at 2:51
Closing. User should be able to get this working via wiki docs/support list.
Original comment by mrclay....@gmail.com
on 23 Apr 2010 at 3:01
Original issue reported on code.google.com by
rmccl...@gmail.com
on 1 Nov 2009 at 9:24Attachments: