Unable to Configure PHDS for AMS : 5.0.6 on Linux CentOS
Hello,
1. Installed Adobe Media Server 5.0.6 Standard edition on CentOS 6.3 Linux box.
2. After installation completed, I tried to hit the URL http://server-dns/hds-vod/sample1_1500kbps.f4v.f4m to verify installation and it gives me proper XML response as mentioned below.
<manifest xmlns="http://ns.adobe.com/f4m/1.0">
<id>sample1_1500kbps.f4v</id>
<mimeType></mimeType>
<streamType>recorded</streamType>
<duration>114.61450000000001</duration>
<bootstrapInfo profile="named" id="bootstrap5535">
AAABq2Fic3QAAAAAAAAAFAAAAAPoAAAAAAABv7UAAAAAAAAAAAAAAAAAAQAAABlhc3J0AAAAAAAAAAABAAAAAQAAAB0BAAABZmFmcnQAAAAAAAAD6AAAAAAVAAAAAQAAAAAAAAAAAAAXcAAAAAIAAAAAAAAXdgAAC7gAAAAEAAAAAAAALuwAABdwAAAABQAAAAAAAEZiAAALuAAAAAcAAAAAAABd2AAAF3AAAAAIAAAAAAAAdU4AAAu4AAAACgAAAAAAAIzEAAAXcAAAAAsAAAAAAACkOgAAC7gAAAANAAAAAAAAu7AAABdwAAAADgAAAAAAANMmAAALuAAAABAAAAAAAADqnAAAF3AAAAARAAAAAAABAhIAAAu4AAAAEwAAAAAAARmIAAAXcAAAABQAAAAAAAEw/gAAC7gAAAAWAAAAAAABSHQAABdwAAAAFwAAAAAAAV/qAAALuAAAABkAAAAAAAF3YAAAF3AAAAAaAAAAAAABjtYAAAu4AAAAHAAAAAAAAaZMAAAXcAAAAB0AAAAAAAG9wgAAAfQAAAAAAAAAAAAAAAAAAAAAAA==
</bootstrapInfo>
<media streamId="sample1_1500kbps.f4v" url="sample1_1500kbps.f4v"
bootstrapInfoId="bootstrap5535">
<metadata>
AgAKb25NZXRhRGF0YQgAAAAAAAhkdXJhdGlvbgBAXKdT987ZFwAFd2lkdGgAQIQAAAAAAAAABmhlaWdodABAdgAAAAAAAAAMdmlkZW9jb2RlY2lkAgAEYXZjMQAMYXVkaW9jb2RlY2lkAgAEbXA0YQAKYXZjcHJvZmlsZQBAWQAAAAAAAAAIYXZjbGV2ZWwAQD4AAAAAAAAABmFhY2FvdAAAAAAAAAAAAAAOdmlkZW9mcmFtZXJhdGUAQD34U+JVaygAD2F1ZGlvc2FtcGxlcmF0ZQBA1YiAAAAAAAANYXVkaW9jaGFubmVscwBAAAAAAAAAAAAJdHJhY2tpbmZvCgAAAAIDAAZsZW5ndGgAQUo7sYAAAAAACXRpbWVzY2FsZQBA3UwAAAAAAAAIbGFuZ3VhZ2UCAANgYGAAAAkDAAZsZW5ndGgAQUNICQAAAAAACXRpbWVzY2FsZQBA1YiAAAAAAAAIbGFuZ3VhZ2UCAANgYGAAAAkAAAk=
</metadata>
</media>
</manifest>
3. Now, I tried to configure PHDS on server level by following instructions mentioned on,
http://www.adobe.com/devnet/adobe-media-server/articles/content-protection-using-phds-phls.
https://helpx.adobe.com/adobe-media-server/dev/configuring-content-protection-hds.html
4. This is what I have configured in /opt/adobe/ams/Apache2.2/conf/httpd.conf file for enabling PHDS at server level
LoadModule jithttp_module modules/mod_jithttp.so
<IfModule jithttp_module>
<Location /hds-vod>
HttpStreamingJITPEnabled true
HttpStreamingContentPath "../webroot/vod"
HttpStreamingJITConfAllowed false
JitFmsDirPath ".."
Options -Indexes FollowSymLinks
# Uncomment the following directives to enable encryption
# for this location.
EncryptionScope server
ProtectionScheme phds
</Location>
</IfModule>
5. After saving /opt/adobe/ams/Apache2.2/conf/httpd.conf file, I have restarted AMS using following command
/opt/adobe/ams/server restart
6. After PHDS configuration and restarting AMS, I tried to hit the same URL http://server-dns/hds-vod/sample1_1500kbps.f4v.f4m and expecting a new XML tag "drmAdditionalHeader" inside the manifest XML. But I got the error message as mentioned below

7. Below is the error logs for the same /opt/adobe/ams/Apache2.2/logs/error_log,
[Fri Feb 27 02:11:22 2015] [error] mod_jithttp [500]: [err=1] PHDS DRM configuration incorrect in "jit.conf" : PHDS is not allowed : /opt/adobe/ams/webroot/vod/sample1_1500kbps.f4v
Also, I have already configure PHDS for AMS starter edition on windows machine with the configuration mentioned above for my POC work and I can see "drmAdditionalHeader" XML tag. But the same configuration does not work on Linux Box, can you please help me out in troubleshooting this issue, since I am struggling to fixing the same from past 2 days.
Thanks,
Kaushal
