Plesk: Difference between revisions

From Cheatsheet
Jump to navigation Jump to search
Created page with '<center h1>Plesk</center h1> '''Location of the vhost in plesk''' <pre>/var/www/vhosts/HoudiniESQ.com/conf</pre> '''Turn off Safe_mode in plesk'''<br> NOTE-dont forget to repl…'
 
No edit summary
Line 1: Line 1:
<center h1>Plesk</center h1>
<center> <h1>Plesk</center> </h1>





Revision as of 22:41, 27 May 2010

Plesk


Location of the vhost in plesk

/var/www/vhosts/HoudiniESQ.com/conf

Turn off Safe_mode in plesk
NOTE-dont forget to replace <domain name>, with the actual domain name.
Create a “vhost.conf” file in “/var/www/vhosts/<domain name>/conf/”

cd /var/www/vhosts/<domain name>/conf/
vim vhost.conf

Insert the following into it.

<Directory /var/www/vhosts/<domain name>/httpdocs>
php_admin_value safe_mode off
php_admin_value open_basedir none
</Directory>

Now run the following to update the conf.

/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=<domain name>

Now restart httpd

service httpd reload