I have recently migrated rails projects to Yosemite, I used Rails 4.2.1, Passenger 5.0.6, Apache 2.4.10.
I got page with "Incomplete response received from application" randomly, when I refresh, the app
seems to work and get answer what I want.
I searched around, tried "rake secret" and copy the secrect_key to secrets.yml, but doesn't seem to
stop the issue. Any advice? My configure file is:
<VirtualHost *.*.*.*:80> # I omit ip address
ServerName
methodologymedia.psu.edu ServerAdmin
ad...@example.com DocumentRoot "/Library/WebServer/Documents"
DirectoryIndex index.html index.php /wiki/ /xcode/ default.html
CustomLog /var/log/apache2/access_log combinedvhost
ErrorLog /var/log/apache2/error_log
<IfModule mod_ssl.c>
SSLEngine Off
SSLCipherSuite "ALL:!aNULL:!ADH:!eNULL:!LOW:!
EXP:RC4+RSA:+HIGH:+MEDIUM"
SSLProtocol -ALL +TLSv1
SSLProxyEngine On
SSLProxyProtocol -ALL +TLSv1
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
</IfModule>
<Directory "/Library/WebServer/Documents">
Options All -Indexes -ExecCGI -Includes +MultiViews
AllowOverride None
<IfModule mod_dav.c>
DAV Off
</IfModule>
<IfDefine !WEBSERVICE_ON>
Require all denied
ErrorDocument 403 /customerror/websitesoff403.html
</IfDefine>
</Directory>
Alias /smart /Library/WebServer/smart/public
<Location /smart>
PassengerBaseURI /smart
PassengerAppRoot /Library/WebServer/smart
</Location>
<Directory /Library/WebServer/smart/public>
Allow from all
Options -MultiViews
# Uncomment this if you're on Apache >= 2.4:
Require all granted
</Directory>
RackEnv development
PassengerRuby /Users/liz/.rbenv/shims/ruby
</VirtualHost>