cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1618
Views
0
Helpful
0
Replies
Highlighted
Enthusiast

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

0 REPLIES 0
Content for Community-Ad