- Apache (9)
- DNS / BIND (2)
- General Linux (7)
- Mail (8)
- Postfix (1)
- Qmail (4)
- Sendmail (3)
- MySQL (7)
- News (1)
- Other (2)
- Perl (1)
- PHP (5)
- Plesk (13)
- Redhat Linux (8)
- Ruby (1)
- Scripts (4)
- Security (4)
- iptables (2)
TopicNavigationUser login |
Per domain open basedir restrictionsSometimes it is necessary to relax the open basedir restrictions for a particular domain. To do this, you'll need to create a vhost.conf for that domain, or edit the existing one. For this example, we will use 'test.com' as the domain. vi /var/www/vhosts/test.com/conf/vhost.conf
<Directory /var/www/vhosts/test.com/httpdocs>
php_admin_flag engine on
php_admin_value open_basedir [insert appropriate restrictions here, or 'none' to disable]
</Directory>
/usr/local/psa/admin/bin/websrvmng -avAnd there you have it. |
Linux JournalSlashdot |