Enable the use of pronunciation files in an HTTPS environment 

Ensure that Profiles users can save and play pronunciation files in an HTTPS environment by defining a rule in the IBM HTTP Server's configuration file.


Before starting

This task needs to be performed in an HTTPS environment only.


About this task

Profiles users can add a recording of how their name is pronounced to enhance their profile. To ensure that users can save a pronunciation file to their own profile and listen to the recordings of other users, define a rule in the IBM HTTP Server's configuration file to explicitly set the caching headers of pronunciation files.


Procedure

Define a rule in the IBM HTTP Server by completing the following steps:

  1. Use a text editor, open the IBM HTTP Server configuration file, httpd.conf file. The file is stored in the following directory by default:

    • AIX : /usr/IBM/HTTPServer/conf

    • Linux™: /opt/IBM/HTTPServer/conf

    • Microsoft™ Windows™: C:\IBM\HTTPServer\conf

  2. Add the following block of code to the httpd.conf file:

      <LocationMatch /*/profiles/audio.do>
         Header set Pragma ""
         Header set Cache-Control "private, max-age=0, must-revalidate"
      </LocationMatch>

  3. Save and close the configuration file.

  4. Restart the IBM HTTP Server.


Parent topic

Administer Profiles


Related tasks


Uploading pronunciation files


   

 

});

+

Search Tips   |   Advanced Search