Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

APCF for rewriting the user agent

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

Everyone's tags (4)
1256
Views
0
Helpful
0
Replies