Code

Updated filterClass names
[gosa.git] / gosa-core / setup / setup_finish.tpl
index 5b4c80ecd649a2004f8859c1ae586b856f2f0876..0ac6e0381b2175148088f2913065db80723ba8de 100644 (file)
@@ -5,15 +5,30 @@
        <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}'>
        </p>
                {if $err_msg != ""}
-                       <p class="seperator">&nbsp;</p>
+                       <hr>
                        <br>
                        {t}Status: {/t}
                        <a style='color:red ; font-weight:bold '>{$err_msg}</a>