index 5b4c80ecd649a2004f8859c1ae586b856f2f0876..b723115fc61c6b915b9fd6f35cbb1361d997af9c 100644 (file)
<p>
{$msg2}
</p>
- <tt>
- chown root:{$webgroup} {$CONFIG_DIR}/{$CONFIG_FILE}<br>
- chmod 640 {$CONFIG_DIR}/{$CONFIG_FILE}
- </tt>
+
+ {if $webgroup == ""}
+{t}Depending on the user name your web server 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}
<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"> </p>
+ <hr>
<br>
{t}Status: {/t}
<a style='color:red ; font-weight:bold '>{$err_msg}</a>