cmuench / Magento-Vagrant-Puppet-Nginx

Installs magento and a nginx server
61 stars 21 forks source link

Forbidden #9

Closed aguimaraes closed 8 years ago

aguimaraes commented 8 years ago

I'm receiving a 403 Forbidden message when trying to access http://127.0.0.1:8080 from the host machine and a 500 Internal Server Error when trying to access http://127.0.0.1:8080/admin.

How can I fix this?

by the way your work is awesome, thank you.

aguimaraes commented 8 years ago

That's the nginx error log:

vagrant@precise64:~$ cat /var/log/nginx/magento.local.error.log 
2015/12/30 15:19:45 [error] 13147#0: *1 directory index of "/vagrant_data/" is forbidden, client: 10.0.2.2, server: magento.local, request: "GET / HTTP/1.1", host: "127.0.0.1:8080"
2015/12/30 15:19:46 [error] 13147#0: *1 rewrite or internal redirection cycle while processing "/index.php", client: 10.0.2.2, server: magento.local, request: "GET /favicon.ico HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/"
2015/12/30 15:19:48 [error] 13147#0: *2 directory index of "/vagrant_data/" is forbidden, client: 10.0.2.2, server: magento.local, request: "GET / HTTP/1.1", host: "127.0.0.1:8080"
2015/12/30 15:19:48 [error] 13147#0: *2 rewrite or internal redirection cycle while processing "/index.php", client: 10.0.2.2, server: magento.local, request: "GET /favicon.ico HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/"
2015/12/30 15:22:29 [error] 13147#0: *6 rewrite or internal redirection cycle while processing "/index.php", client: 10.0.2.2, server: magento.local, request: "GET /admin HTTP/1.1", host: "127.0.0.1:8080"
2015/12/30 15:22:29 [error] 13147#0: *7 rewrite or internal redirection cycle while processing "/index.php", client: 10.0.2.2, server: magento.local, request: "GET /favicon.ico HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/admin"
2015/12/30 15:22:30 [error] 13147#0: *8 rewrite or internal redirection cycle while processing "/index.php", client: 10.0.2.2, server: magento.local, request: "GET /admin HTTP/1.1", host: "127.0.0.1:8080"
2015/12/30 15:22:31 [error] 13147#0: *9 rewrite or internal redirection cycle while processing "/index.php", client: 10.0.2.2, server: magento.local, request: "GET /favicon.ico HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/admin"
2015/12/30 15:25:19 [error] 13147#0: *11 directory index of "/vagrant_data/" is forbidden, client: 10.0.2.2, server: magento.local, request: "GET / HTTP/1.1", host: "magento.local:8080"
2015/12/30 15:25:19 [error] 13147#0: *11 rewrite or internal redirection cycle while processing "/index.php", client: 10.0.2.2, server: magento.local, request: "GET /favicon.ico HTTP/1.1", host: "magento.local:8080", referrer: "http://magento.local:8080/"
aguimaraes commented 8 years ago

n98-magerun was outdated, magento was not being installed