Because some shared hosts have disabled FollowSymLinks in Apache
configuration, and won't change it, as they consider it a security
issue.
I think that symlinking resource dirs should be made optional and not
a default.

Regards,
Miha

On Oct 6, 7:54 am, Lukas Kahwe Smith <m...@pooteeweet.org> wrote:
> On 05.10.2010, at 22:26, Lukas Kahwe Smith wrote:
>
> > - we want to add a few app/console enhancements to symlink public docroot 
> > stuff from Bundles into the web dir
>
> noticed that there already is a way to install the assets. it uses the 
> Symfony\Bundle\FrameworkBundle\Util\Filesystem::mirror() method.
>
> It iterates over the public resources and creates/copies/symlinks:
>             if (is_dir($file)) {
>                 $this->mkdirs($target);
>             } else if (is_file($file)) {
>                 $this->copy($file, $target, $options);
>             } else if (is_link($file)) {
>                 $this->symlink($file, $target);
>             } else {
>                 throw new \RuntimeException(sprintf('Unable to guess "%s" 
> file type.', $file));
>             }
>
> What I dont get is why it doesnt just symlink? even windows has native 
> support these days both on the OS level since Vista IIRC and in PHP 5.3.
>
> regards,
> Lukas Kahwe Smith
> m...@pooteeweet.org

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to