• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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