APCF for rewriting the user agent

Unanswered Question
Jun 18th, 2010

Hi

Does anybody have a clear documentation on writing APCF files?

I'm trying to write an APCF which rewrites Internet Explorer user agent strings to something differently, so that the ASA does not try to run ActiveX controls at all. At the moment the ASA does not accept the SED script. Does anybody have a clue how they have to be written? I have seen some but all use different syntax.

I've got this today:

<APCF>
<version>1.0</version>
<application>
  <id>Theres now iE</id>
  <apcf-entities>
      <process-request-header>
         <conditions>
           <user-agent-regexp>'MSIE 8.0;'</user-agent-regexp>
         </conditions>
           <action>
             <sed-script>s/MSIE 8.0/Gecko /</sed-script>
           </action>
      </process-request-header>
  </apcf-entities>
</application>
</APCF>

Kind regards

Roberto

I have this problem too.
1 vote
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.

Actions

This Discussion

Related Content