Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: compsos on July 20, 2014, 04:29:45 AM
-
Hi Steph
After installing phpvirtualbox got the above error in the /var/log/httpd/error.log but creating a custom-template of the 92phpvirtualbox and changing the lines
$OUT .= " order deny,allow\n";
$OUT .= " deny from all\n";
to $OUT .= " Require all granted";
Changed block of code.
$OUT .= "Alias /phpvirtualbox /opt/phpvirtualbox\n";
$OUT .= "\n";
$OUT .= "<Directory /opt/phpvirtualbox>\n";
$OUT .= " SSLRequireSSL\n";
$OUT .= " Require all granted";
$OUT .= " allow from $localAccess\n";
$OUT .= " php_admin_value upload_tmp_dir /tmp\n";
Has allowed access. Not sure this is the best solution but it does handle the issue. Most other stanzas have a line following "deny ..." as "allow from... " and maybe it is the absence of that is blocking access. Your thoughts.
-
Has allowed access. Not sure this is the best solution but it does handle the issue. Most other stanzas have a line following "deny ..." as "allow from... " and maybe it is the absence of that is blocking access. Your thoughts.
If you have "deny from all" and no "allow ..." then that's obviously where your problem is.
-
HI compsos.
I will look about that after my holydays, if i understand well you cannot connect to phpvirtualbox except if you do your custom template ???
-
In the meanwhile phpvirtualbox is not maintained by its author but another software merits our attention....i have not tested yet : http://remotebox.knobgoblin.org.uk/
Maybe it is time to trye something else.
-
Thanks Steph
Thanks for that. Enjoy the rest of your summer holidays.
Charlie
Yes I can see that. I was basically asking if there was a reason for the way it is and found a workaround, maybe not the best and open to debate.
-
what is your sme version ?
I do not understand your issue as it is common way to allow access in apache !!!!!
here another example for an ibay called ola
#------------------------------------------------------------
# ola ibay directories (essai)
#------------------------------------------------------------
<Directory /home/e-smith/files/ibays/ola/html>
SSLRequireSSL
Options None
Options +Indexes
Options +Includes
AllowOverride None
order deny,allow
deny from all
allow from all
AuthName "essai"
AuthType Basic
AuthBasicProvider external
AuthExternal pwauth
require user ola
Satisfy all
</Directory>
<Directory /home/e-smith/files/ibays/ola/cgi-bin>
Options ExecCGI
AllowOverride None
order deny,allow
deny from all
allow from all
AuthName "essai"
AuthType Basic
AuthBasicProvider external
AuthExternal pwauth
require user ola
Satisfy all
</Directory>
<Directory /home/e-smith/files/ibays/ola/files>
AllowOverride None
order deny,allow
deny from all
allow from all
AuthName "essai"
AuthType Basic
AuthBasicProvider external
AuthExternal pwauth
require user ola
Satisfy all
</Directory>
-
what is your sme version ?
well it works as expected on a sme8 32 bit, could you answer on the question above and moreover can you give back
config show phpvirtualbox
from scratch the only user allowed is the admin user of smeserver. Could you maybe post the relevant part of the error file please.
-
Hi Steph
Will do but I am out of the office till next week. It was on SME9 that had the error. The boxes that had the error are now onsite but not installed so will try to replicate on another unit.
Thanks
-
no problem :)
your sme9 version is 32 or 64 bit ?
EDIT:
I have just tested with a sme9-64 and it works :/