D
Dan F
Guest
Hi guys.
I hope you can help me out please...
I've just managed to get a dedicated SSL certificate and I want to enable my users to use the https:// area of my site. The content will be no different from my main httpdocs, so I've symlinked them (found on Google) with:
this works fine for a normal .html file or a .php file that has no includes(), however, for any of my others I receive the following PHP error:
... the 'connect' directory contains my main functions.php and other related files.
I've made sure my vhost.conf in 'conf' says:
and done the same for "vhost_ssl.conf" to no avail.
I even tried turning "open_basedir = none" in /usr/local/psa/admin/conf/php.ini
Any help would be greatly appreciated...!
I hope you can help me out please...
I've just managed to get a dedicated SSL certificate and I want to enable my users to use the https:// area of my site. The content will be no different from my main httpdocs, so I've symlinked them (found on Google) with:
Code:
# ln -sv httpdocs httpsdocs
# chown -h dan:psaserv httpsdocs
this works fine for a normal .html file or a .php file that has no includes(), however, for any of my others I receive the following PHP error:
Code:
Warning: require_once(): open_basedir restriction in effect. File(/srv/www/vhosts/domain/connect/functions.php) is not within the allowed path(s): (/srv/www/vhosts/domain/httpsdocs/:/tmp/) in /srv/www/vhosts/domain/httpdocs/functions.php on line 32 Warning: require_once(/srv/www/vhosts/domain/connect/functions.php): failed to open stream: Operation not permitted in /srv/www/vhosts/domain/httpdocs/functions.php on line 32 Fatal error: require_once(): Failed opening required '/srv/www/vhosts/domain/connect/functions.php' (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in /srv/www/vhosts/domain/httpdocs/functions.php on line 32
... the 'connect' directory contains my main functions.php and other related files.
I've made sure my vhost.conf in 'conf' says:
Code:
<Directory /srv/www/vhosts/domain/httpdocs>
php_admin_value safe_mode off
php_admin_value open_basedir none
</Directory>
and done the same for "vhost_ssl.conf" to no avail.
I even tried turning "open_basedir = none" in /usr/local/psa/admin/conf/php.ini
Any help would be greatly appreciated...!