Changes

Jump to navigation Jump to search
Created page with "I suggest to avoid installation in an ibay as this lead to an easy root access on the machine. I rather use opt/phpvbox folder with following template db configuration set ..."
I suggest to avoid installation in an ibay as this lead to an easy root access on the machine.

I rather use opt/phpvbox folder with following template

db configuration set phpVirtualBox service status enabled
vim /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/86VirtualBox

# phpVirtualbox
{
my $status = ($phpVirtualBox{'status'} || 'disabled');

if ($status eq "disabled")
{
return "# disabled";
}
else
{
$OUT .= "Alias /phpvbox /opt/phpVirtualBox/html\n";
$OUT .= "\n";
$OUT .= "<Location /phpvbox>
AuthName \"phpvirtualbox\"
AuthType Basic
AuthExternal pwauth
require user admin
</Location>
<Directory /opt/phpVirtualBox/html>
SSLRequireSSL
Options -Indexes
AllowOverride None
order deny,allow
deny from all\n";
my $access = ($phpVirtualBox{'access'} || 'private');
if ("$access" eq "private")
{
$OUT .= " allow from $localAccess $externalSSLAccess\n";
}
elsif ("$access" eq "public")
{
$OUT .= " allow from all";
}
$OUT .= " Satisfy all
AddType application/x-httpd-php .php .php3
php_flag magic_quotes_gpc on
php_flag track_vars on
# php_admin_value open_basedir /opt/phVirtualBox/:/opt/VMs/
</Directory>
";
}
}


[[User:Unnilennium|Unnilennium]] ([[User talk:Unnilennium|talk]]) 10:18, 20 October 2013 (MDT)
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu