index 5b4c80ecd649a2004f8859c1ae586b856f2f0876..4f29b9cd64fe0d92cdf0f6e268346f37d8e66265 100644 (file)
<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}'>