diff --git a/interface/web/sites/ajax_get_json.php b/interface/web/sites/ajax_get_json.php
index a910dce9f04437659f8f201cbf6cd89925b3a5e4..ebaa9f71d8b2649bd10e4d6de866ac94bfef5141 100644
--- a/interface/web/sites/ajax_get_json.php
+++ b/interface/web/sites/ajax_get_json.php
@@ -38,7 +38,7 @@ $server_id = intval($_GET["server_id"]);
 $web_id = intval($_GET["web_id"]);
 $type = $_GET["type"];
 
-if($_SESSION["s"]["user"]["typ"] == 'admin') {
+//if($_SESSION["s"]["user"]["typ"] == 'admin') {
 
 	if($type == 'getservertype'){
 		$json = '{"servertype":"';
@@ -60,7 +60,7 @@ if($_SESSION["s"]["user"]["typ"] == 'admin') {
 		$json .= '"}';
 	}
 
-}
+//}
 
 echo $json;
 ?>
\ No newline at end of file
diff --git a/server/plugins-available/apps_vhost_plugin.inc.php b/server/plugins-available/apps_vhost_plugin.inc.php
index f9fe65b3457e7c5813bbe3b46bf6b0fb947b95b9..538c46c0c73a8f21443f3b8ad30bf190023c1762 100644
--- a/server/plugins-available/apps_vhost_plugin.inc.php
+++ b/server/plugins-available/apps_vhost_plugin.inc.php
@@ -39,7 +39,11 @@ class apps_vhost_plugin {
 	function onInstall() {
 		global $conf;
 		
-		return true;
+		if($conf['services']['web'] == true) {
+			return true;
+		} else {
+			return false;
+		}
 		
 	}