deployment - my rails application not work on my debian server in production -
when run browser rails application on debian server, tree of application appears in browser. install , configure passenger , apache not work.
why?
thanks
you have web server pointed @ <some_path>/app
instead of <some_path>/app/public
.
example apache virtualhost:
<virtualhost *:443> servername www.app.com documentroot "/var/app/current/public/" customlog /var/log/apache2/app_log combined errorlog /var/log/apache2/app_log <directory /var/app/current/public> allowoverride options -multiviews </directory> sslengine on sslcertificatefile /etc/ssl/certs/app.crt sslcertificatekeyfile /etc/ssl/private/app.key sslcertificatechainfile /etc/ssl/certs/bundle.crt </virtualhost>
Comments
Post a Comment