Welcome! Log In Create A New Profile

Advanced

Installed using puPHPet -- 403 and 500 error

Posted by Jaace 
Installed using puPHPet -- 403 and 500 error
March 04, 2014 11:15AM
I've run through the puPHPet creation of a manifest (using Vagrant and Puppet) - anyway, my question is sort of basic, I hope:

I'm running nginx version: nginx/1.4.5 and I can't seem to locate where my sites-available directory is. I checked /etc/nginx and all that is there is (ls -a /etc/nginx):
./ ../ conf.d/ conf.mail.d/ fastcgi_params koi-utf koi-win mime.types nginx.conf scgi_params uwsgi_params win-utf

My other concern is that my root directory is in /var/www/project-name, not /var/ww/html -- but I'm assuming that by editing my sites-available/project-name (when I find it) can take care of that for me?

I'm new to nginx and I build WordPress sites -- so I'm moving from Apache to nginx. Any help is greatly appreciated!
Re: Installed using puPHPet -- 403 and 500 error
March 04, 2014 11:26AM
Found the conf file in /etc/nginx/conf.d/vhost_autogen_conf (guess it was automatically generated and put here.. not sure why it's not like the older nginx with sites-available and sites-active).

Anyway, here is my error log if it helps figure things out for me:
2014/03/04 15:33:42 [error] 801#0: *26 rewrite or internal redirection cycle while internally redirecting to "/index.php", client: 192.168.56.1, server: myproject.dev, request: "GET /favicon.ico HTTP/1.1", host: "myproject.dev"
2014/03/04 15:34:12 [error] 801#0: *27 directory index of "/var/www/myproject/" is forbidden, client: 192.168.56.1, server: myproject.dev, request: "GET / HTTP/1.1", host: "myproject.dev"
2014/03/04 15:34:12 [error] 801#0: *27 rewrite or internal redirection cycle while internally redirecting to "/index.php", client: 192.168.56.1, server: myproject.dev, request: "GET /favicon.ico HTTP/1.1", host: "myproject.dev"
2014/03/04 16:09:23 [error] 801#0: *29 directory index of "/var/www/myproject/" is forbidden, client: 192.168.56.1, server: myproject.dev, request: "GET / HTTP/1.1", host: "myproject.dev"
2014/03/04 16:09:36 [error] 801#0: *29 rewrite or internal redirection cycle while internally redirecting to "/index.php", client: 192.168.56.1, server: myproject.dev, request: "GET /favicon.ico HTTP/1.1", host: "myproject.dev"
Re: Installed using puPHPet -- 403 and 500 error
March 04, 2014 01:23PM
Figured it out -- my root was pointing to /var/ww/myproject instead of /var/www/myproject/web (where my index.php lives).
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 197
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready