[cvs] [Wiki] changed: FAQ/Admin/Config

Chuck Hagenbuch chuck at horde.org
Thu May 17 19:00:55 UTC 2007


chuck  Thu, 17 May 2007 12:00:54 -0700

Modified page: http://wiki.horde.org/FAQ/Admin/Config
New Revision:  4.11
Change log:  migrate some horde 2.x content

@@ -116,27 +116,14 @@
 # If the language does not already exist in {{horde/config/lang.php}} add
any required entries for it in that file. You may want to add a two-letter
alias for the language, and if it uses a non-ascii character set you should
define that also in the {{$nls['charsets']}} array.
 # Mail your new translation to [mailto:i18n at lists.horde.org the developers]
so that we can include it in the distribution!

 +++ How do I let users report problems directly from Horde?
-Horde comes with a problem-reporting form.
-
-**[Horde 2.0]:** In Horde 2.0, configure it in {{/horde/config/horde.php}}
by modifying the following lines:
-
-<code type="php">
-// Should we display a problem reporting link in Horde application
-// menus?
-$conf['problems']['enabled'] = false;
-
-// If so, where should problem report emails be sent?
-$conf['problems']['email'] = 'postmaster at example.com';
-</code>
-
-Set the first flag to //true// and then modify the email address to be the
address where you want the problem report sent.
+Horde comes with a problem-reporting form. You can control who sees it, and
what is done with problem reports, by going to the //Problem Reporting// tab
of the Horde Configuration tool.

 +++ Can I use PHP's safe_mode with Horde?
-**[Horde 2.0]:** PHP's safe_mode is not officially supported for Horde 2.x.
Many have tried to use it, and have reported various levels of success. To
run in safe_mode you will need to modify the PHP safe_mode settings. You
may also have to change some code in Horde or other Horde components in
order to make things work properly. Some of the known issues are not being
able to set php maximum execution time, problems with spell checking, not
being able to use Sendmail (without modifying the php safe_mode
configuration), and problems with any sort of file uploads (adding
attachments in IMP, file uploads in gollem, etc).
+PHP's safe_mode is not officially supported by Horde, although we work
around its restrictions wherever we can. Many have tried to use it, and
have reported various levels of success. To run in safe_mode you will need
to modify the PHP safe_mode settings. You may also have to change some code
in Horde or other Horde components in order to make things work properly.
Some of the known issues are not being able to set php maximum execution
time, problems with spell checking, not being able to use Sendmail (without
modifying the php safe_mode configuration), and problems with any sort of
file uploads (adding attachments in IMP, file uploads in gollem, etc).

-If you run the Apache web server with virtual hosts and with PHP's
safe_mode enabled by default, you can use the Apache PHP4 module
configuration command //php_admin_value// in your main Apache configuration
file to remove safe_mode for the Horde virtual host. For example:
+If you run the Apache web server with virtual hosts and with PHP's
safe_mode enabled by default, you can use the Apache PHP module
configuration command //php_admin_value// in your main Apache configuration
file to remove safe_mode for the Horde virtual host. For example:

 <code>
 <VirtualHost ...>
 ...
@@ -150,8 +137,10 @@
   </Directory>
   ...
 </VirtualHost>
 </code>
+
+Remember to check mod_php5.c or similar if you are running PHP 5 or any
other version.

 **[Horde 3.1.3]:** Horde+imp+turba, with safe_mode enabled, is working fine
with this apache configuration:

 <code>
@@ -167,32 +156,32 @@
 </code>

 With this configurtation, it is possible to import an X509 private key, to
sign and crypt mails, to add attachment files, to set languages (if po
files are compiled). The $conf['tmpdir'] must be set to /path/to/horde/tmp
in the horde conf.php file. It is use for upload (imp attachments) and to
generate 'horde_smime' temporary files when you are signing and/or crypting
mails. A special configuration is set for the smime.php file so it can run
the openssl command to encrypt and decrypt the private key when it is
imported in the database. To enable the private key importation, /var/tmp
must be added to the the open_basedir list (why?).

-This configuration has been tested with a direct access to the smtp server
(no local sendmail).
+This configuration has been tested with a direct access to the SMTP server
(no local sendmail).

-There is no waranty that everything works fine but the most important
features (like sending, receiving, attaching files, signing, crypting) are
OK.
+There is no warranty that everything works fine but the most important
features (like sending, receiving, attaching files, signing, crypting) are
OK.

 +++ How can I add a graphic or banner to every page?
-**[Horde 2.0]:** You can add content to the top of every page in a horde
component by adding appropriate code to the file
{{templates/common-header.inc}} for that component. You can add content to
the bottom of every page in a horde component by adding appropriate code to
the file {{templates/common-footer.inc}} for that component.
+You can add content to the top of every page in a Horde component by adding
appropriate code to the file {{templates/common-header.inc}} for that
component. You can add content to the bottom of every page in all Horde
components by adding appropriate code to the file
{{horde/templates/common-footer.inc}}.

 +++ Why do old preference values overrule newly locked preference values?
-**[Horde 2.0]:** Any user preferences already set and stored in the
preference storage container will overrule any newly locked preferences
that may be set by the administrator.
+Any user preferences already set and stored in the preference storage
container will overrule any newly locked preferences that may be set by the
administrator. This is because the administrator may want to lock a
preference, but create a different value for some users. The administrator
controls the preferences container, so we trust the preferences container.

 Thus if users select and save their own values for an unlocked preference,
and then the administrator decides to lock that preference value, any
previously set user values would overrule the new locked value set by the
administrator.

-Therefore, if when locking a preference for which users have already set
values you wish that all users conform to the new locked setting, you must
empty out the stored preference values in the preference storage container
for all users.
+Therefore, if when locking a preference for which users have already set
values you wish that all users conform to the new locked setting, you must
empty out the stored preference values in the preference storage container
for all users. Horde 3.x includes a script in
{{horde/scripts/remove_prefs.php}} to aid in doing this. In Horde 3.2 and
above, this script is in the administrator tools package
(http://pear.horde.org/index.php?package=admintools).

 +++ How do I deactivate the username/password saving feature at the login
screen?
-This is a function of some web browsers called //!AutoComplete//. It can be
disabled in the browser or via the html code on the server. Horde does not
currently disable this via html code as the method for doing so is not
XHTML 1.0 compliant.
+This is a function of some web browsers called //!AutoComplete//. It can be
disabled in the browser or via the html code on the server. Horde does not
currently disable this via HTML code as the method for doing so is not
XHTML 1.0 compliant.

 This is best done by disabling the feature in your web browser. How to do
this depends on your browser. See the documentation for your browser for
information on how to accomplish this.

-Some browsers let you selectively erase your !AutoComplete data. How to do
this would vary depending on your browser. For example, in Microsoft's
Internet Explorer you can use the following sequence to erase all your
stored autocomplete data: From the menu bar at the top of your browser,
choose: Tools -> Internet Options -> Content Tab -> !AutoComplete Button ->
Clear Forms.
+Some browsers let you selectively erase your !AutoComplete data. How to do
this would vary depending on your browser. For example, in Microsoft's
Internet Explorer you can use the following sequence to erase all your
stored !AutoComplete data: From the menu bar at the top of your browser,
choose: Tools -> Internet Options -> Content Tab -> !AutoComplete Button ->
Clear Forms.

 You can also selectively delete individual items. For example, in Internet
Explorer, while the cursor is in a form element, put in at least one letter
so that the !AutoComplete responses are made visible. Using your arrow keys,
scroll down to highlight the response you want to erase. Push the //Delete//
key on your keyboard.

-If you wish to disable this for your site, you can do so by modifying the
html code. This may make upgrading your installation more difficult, so
think twice about this before doing it.
+If you wish to disable this for your site, you can do so by modifying the
HTML code. This may make upgrading your installation more difficult, so
think twice about this before doing it.

 You can edit the source code for the login form and add autocomplete="off"
to the form to disable autocomplete for all fields in the form. For
example:

 <code>


More information about the cvs mailing list