Debian 6 / Plesk 10.2 (brand new installation..)
I have a domain mysportacademy.com.
As I am deploying a Rails app w Passenger ( Apache mod_rails) , I created a vhost.conf in the directory /var/www/vhosts/mysportacademy.com/conf
ServerName mysportacademy.com
DocumentRoot /var/www/vhosts/mysportacademy.com/rails/rapsberry/current/public
RailsEnv "production"
<Directory "/var/www/vhosts/mysportacademy.com/rails/rapsberry/current/public">
AllowOverride All
Options Indexes FollowSymLinks -MultiViews
</Directory>
then I run :
/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain mysportacademy.com
apache2ctl configtest
/etc/init.d/apache2 restart
no complain ...
this is the standard usage ( I have many Rails app running this way on another server w Debian5/Plesk 10.1)
Passenger is running ( checked in console w ps aux ) and should start the application ... but it seems that this vhost.conf is not read at all ... which doesn't trigger Passenger
going to the domain url ... http://www.mysportacademy.com leads to the standard httpdocs Plesk index.html
what did I miss ?
I have a domain mysportacademy.com.
As I am deploying a Rails app w Passenger ( Apache mod_rails) , I created a vhost.conf in the directory /var/www/vhosts/mysportacademy.com/conf
ServerName mysportacademy.com
DocumentRoot /var/www/vhosts/mysportacademy.com/rails/rapsberry/current/public
RailsEnv "production"
<Directory "/var/www/vhosts/mysportacademy.com/rails/rapsberry/current/public">
AllowOverride All
Options Indexes FollowSymLinks -MultiViews
</Directory>
then I run :
/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain mysportacademy.com
apache2ctl configtest
/etc/init.d/apache2 restart
no complain ...
this is the standard usage ( I have many Rails app running this way on another server w Debian5/Plesk 10.1)
Passenger is running ( checked in console w ps aux ) and should start the application ... but it seems that this vhost.conf is not read at all ... which doesn't trigger Passenger
going to the domain url ... http://www.mysportacademy.com leads to the standard httpdocs Plesk index.html
what did I miss ?