Search code examples
windowsapachesymfonypermissionsassetic

Symfony 2 fresh windows install - web folder permissions issue


I encounter a problem with my symfony setup.

In fact, I can access at my project in local (which is a clone of a working repo) but css and js seems broken as you can see :

console

I'm on windows 10, the web symlink looks ok (files are here), this is my vhost :

<VirtualHost *:8080>
  ServerName local.franckfurt
  ServerAlias local.franckfurt
  DocumentRoot c:/wamp64/www/.../web
  <Directory "C:/wamp64/www/...">
    Options Indexes FollowSymLinks SymLinksifOwnerMatch
    AllowOverride all
    Order Allow,Deny
    Allow from All
    Require local
  </Directory>
</VirtualHost>

I tried add umask(0002); line in my app files and console without success, use git bash for chmod 775 command on web repository and some other things I already missed.

Thanks in advance for yout time,

Kupris


Solution

  • Finally I activate administrator account, change windows permissions for users and after clearing cache it works. Don't know if it's the best solution but it works for now. Thanks for all your replys.