ForestJay / VoteSquared

Repository for Vote Squared platform's code base.
MIT License
4 stars 0 forks source link

Error should be in production Mode #14

Open ForestJay opened 10 years ago

ForestJay commented 10 years ago

When production mode is enabled all pages cause the 500 error to occur. Here is the results of the error log:

[Sun Sep 07 14:33:54 2014] [error] [client 68.14.65.176] Directory index forbidden by Options directive: /var/www/ [Sun Sep 07 14:33:54 2014] [error] [client 68.14.65.176] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://23.251.145.127/ [Sun Sep 07 15:22:07 2014] [error] [client 68.14.65.176] Directory index forbidden by Options directive: /var/www/ [Sun Sep 07 15:22:07 2014] [error] [client 68.14.65.176] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://23.251.145.127/

This really needs to be debugged on a development server. It's probably more of a configuration issue than a code issue.

Error log is here: /var/log/httpd/error.log-20140907

Production mode is set here: /opt/nginx/conf/nginx.conf

The template is: /home/forest.handford/.rvm/gems/ruby-2.0.0-p481/gems/passenger-4.0.50/resources/templates/undisclosed_error.html.template