Mar 27, 2026 - For details about updated CVE-2025-53521 (BIG-IP APM vulnerability), refer to K000156741.

Forum Discussion

Ben_Nichols_107's avatar
Ben_Nichols_107
Icon for Nimbostratus rankNimbostratus
Mar 28, 2012

RegEx assistance for compression URI list

Apologies if this is a basic question.

 

 

 

 

Ive been asked to configure a client's F5 to compress specific file type only for a particular site. They have a single virtual server that multiple sites are published through (using host headers on the web servers). The virtual server has an http profile that enables content compression for application/json. Ive now been asked to enable compression for *.aspx, *.js and *.css but only for one specific site that is published through the virtual server (dont ask me why, this is what I have been asked to do).

 

 

I was hoping to add entries like the following to the URI include list:

 

 

 

*www.sitename.com/*.aspx

 

*.www.sitename.com/*.js

 

 

 

etc

 

 

I cant work out the required format of regular expression. Or am I being dumb on this occasion?

 

 

My only other solution would be to create a new virtual server on a seperate IP, but I want to avoid that. Or I guess there are iRules, but I thought this would be simple.

 

 

 

Many thanks in advance.

 

 

Ben

 

 

1 Reply

No RepliesBe the first to reply