symfony2-vagrant
symfony2-vagrant copied to clipboard
Change Default location
I have this message when i try to access 33.33.33.100 "File not found".
I need to change de default location to /media/sf_www where is symfony located . Could you please advice how to change default folder?
Thank you
You can change default location in nginx configuration file files/nginx/default
root /vagrant/www/web;
##change to
root /media/sf_www;
Hy. I've tried in /etc/nginx/sites-enabled/default but i get "403 Forbidden" Do you have any ideea why?
I've rebuild virtual machine and change the path like you said and i get the same error "File not found".
Here is a printscreen: http://screencast.com/t/XxMrgN67M
I come back with same problem. I reinstall today all and when i acces 33.33.33.100 i get an "File not found."
When i view /var/log/nginx/error.log i have this error.
[error] 3435#0: *18 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 33.33.33.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix://var/run/php5-fpm.sock:", host: "33.33.33.100"
This is my default file http://pastebin.com/8f1tSAXn