Apache2 SSL And Passenger Configuration Issue
Posted
by
Aditya Manohar
on Server Fault
See other posts from Server Fault
or by Aditya Manohar
Published on 2011-01-07T15:36:47Z
Indexed on
2011/01/07
15:55 UTC
Read the original article
Hit count: 281
I have the following virtual hosts configuration blocks.
<VirtualHost *:80>
DocumentRoot /var/www/html/TestApp/public/
<Directory /var/www/html/TestApp/public/>
Allow from all
Options -MultiViews
</Directory>
</VirtualHost>
NameVirtualHost *:443
<VirtualHost *:443>
DocumentRoot /var/www/html/TestApp/public/
<Directory /var/www/html/TestApp/public/>
Allow from all
Options -MultiViews
</Directory>
SSLEngine on
SSLCertificateFile /etc/pki/tls/certs/server.crt
SSLCertificateKeyFile /etc/pki/tls/private/server.key
</VirtualHost>
I trying to serve a Rails App off Passenger on Apache.
The Problem:
The TestApp works fine with Apache and Passenger when not using SSL
When I use https://
, I see the contents of /var/www/html
The path to TestApp is /var/www/html/TestApp
Any help will be much appreciated.
© Server Fault or respective owner