• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

vhost.conf with drupal install not working

M

mboy

Guest
Hi:

I'm developing a drupal-based website and just set up a vps account with Plesk.

I successfully set up the vhost.conf file so that the base directory would be set to:
.../httpdocs/drupal

So, now when I enter the temporary url I set up, it redirects fine, and the index page of drupal loads.

The problem is when I try to access any of the links on my drupal site, I just get 500 errors.

I assume it has something to do with the permissions set in the htaccess file is the drupal folder.

I tried to copy all of the htaccess info and pasted it into vhost.conf, but that didn't work.

Is ther anyone who can point me in the right direction?

thanks,

mboy
 
Did you try reconfiguring your site?

"/usr/local/psa/admin/bin/websrvmng --reconfigure-vhost --vhost-name=yoursite.tld"
 
Why did you change the document root? Can't you just put the Drupal files in the httpdocs directory? Did you check the error_log for the domain?
 
Back
Top