Code

Updated faiManagement properties
[gosa.git] / gosa-core / setup / setup_finish.tpl
index 87b6732d378c6d61156ecccc01b1b191e66e5b01..7fd74cc5b879f06b605cf6bab6c6f9fdcd5fb2c2 100644 (file)
@@ -5,15 +5,31 @@
        <p>     
                {$msg2}
        </p>
-       <tt>
-       chown root.{$webgroup} {$CONFIG_DIR}/{$CONFIG_FILE}<br>
-       chmod 640 {$CONFIG_DIR}/{$CONFIG_FILE}
+
+      {if $webgroup == ""}
+{t}Depending on the user name your webserver is running on:{/t}
+<tt>
+<pre> chown root:www-data {$CONFIG_DIR}/{$CONFIG_FILE}
+ chmod 640 {$CONFIG_DIR}/{$CONFIG_FILE}
+
+or
+
+ chown root:apache {$CONFIG_DIR}/{$CONFIG_FILE}
+ chmod 640 {$CONFIG_DIR}/{$CONFIG_FILE}
+</pre>
+{else}
+<pre>
+ chown root:{$webgroup} {$CONFIG_DIR}/{$CONFIG_FILE}
+ chmod 640 {$CONFIG_DIR}/{$CONFIG_FILE}
+</pre>
+{/if} 
        </tt>
        <p>     
-               <input type='submit' name='getconf' value='{t}Download configuration{/t}'>
+               <button type='submit' name='getconf'>{t}Download configuration{/t}</button>
+
        </p>
                {if $err_msg != ""}
-                       <p class="seperator">&nbsp;</p>
+                       <hr>
                        <br>
                        {t}Status: {/t}
                        <a style='color:red ; font-weight:bold '>{$err_msg}</a>