• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

my vhost.conf seems to be ignored ...

kadoudal

Regular Pleskian
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 ?
 
On CentOS 5.6 and Plesk 10.3 after update the same!

hi all,

I have the same issue! I got a new server with CentOS 5.5 and Plesk 10.2 on it and the open_basedir directive as described in this article worked; I tested it.

Then I updated to Plesk 10.3 and CentOS 5.6 and now it's not working any more.

After creating and uploading the vhost.conf file to the folder /var/www/vhosts/domain.tld/conf I run the /usr/local/psa/admin/sbin/httpdmng --reconfigure-all command and restarting the apache demon either by hand or via cp a new file in the form of 123456.123456_httpd.include is generated. But when I open the file, there are 4 open_basedir entries but none of them contains my added folder.

Any ideas?

@kadoudal - Have you checked if the file (123456.123456_httpd.include) is being created in the folder /var/www/vhosts/mysportacademy.com/conf? And it contains your directive?

Salami Charly
 
[SOLVED] my vhost.conf seems to be ignored ..

Hi Charly

I wrote some explicit mistakes in the vhost.conf to check if it was read .. and it was , so the issue was not with Plesk,

but rather with the Rails/RVM/Passenger environment built on this new Debian 6 server ... ( the other was running well
my mistake was trying to 'mimic' the Debian 5 install ...

I re-generated the Ruby, Rails 3, RVM + Passenger (mod_rails) environment
if anyone is interested , I described the process here : https://gist.github.com/1102852

hope it will help someone...
 
Back
Top