Closed ghost closed 9 years ago
You need to give write permissions to the web server for /vagrant/moa/api/app/storage/logs/
Laravel may require one set of permissions to be configured: folders within `app/storage` require write access by the web server.
I've followed installation instructions and also set up folders in apache as instructed on Preferred Folder Structure and Config. What works: (i) Magento is up and running and (ii) I can also see the moa frontend.
Here my config.json (note: I'm using a Vagrant machine as you can see):
But now I've two issues!
FIRST (showstopping) ISSUE - permission denied
If I do a node node/server.js the applicaiton does not start up. If I visit the endpoint /moa/api/public on the server I do see:
apache's directory
/var/www
belongs to root. That's why I've tried tochown -R root: /vagrant/moa
(which I've linked to/var/www/moa
), but that does not work (since maybe it's an NTFS issue).I feel so close to see your great stuff performing, but now I am totally stucked!! Please help.
SECOND (minor) ISSUE - subdomains
I am not so sure of how to set up the file
/etc/apache2/sites-enabled/default.conf
to get subdomains working. That is my try so far, but it's not working:It would be really great if someone could help!