cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1935
Views
0
Helpful
0
Replies

APCF for rewriting the user agent

ROBERTO GIANA
Level 4
Level 4

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
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: