.. include:: /Includes.rst.txt .. index:: Configuration .. _configuration-tika-services: Configuring Tika Services ========================= **General information about how to configure the Tika Services can be found in the** `official Tika documentation `_ .. tip:: The :file:`tika-config.xml` can be applied on all variants of Tika services. In case you want to exclude certain mime types from being processed by Tika, you can do the following: Create the file :file:`/etc/tika/tika-config.xml` with this content: .. code-block:: xml application/zip application/zip This tells Tika to exclude zip files from DefaultParser and use EmptyParser instead, who does basically nothing. Apply tika-config.xml --------------------- .. tip:: `Tika docs "Using a Tika Configuration XML file" `_ provides information how to apply the tika-config.xml file, however pan_env can make the things simpler. Adding following line to :file:`/etc/security/pam_env.con`, makes the TIKA_CONFIG env variable global on host. .. code-block:: bash TIKA_CONFIG DEFAULT="/etc/tika/tika-config.xml"