cancel
Showing results for 
Search instead for 
Did you mean: 

Convert .htaccess rewrite rules to iRule

Walter_WorkAcct
Altostratus
Altostratus

Literally trying to copy this logic into an irule and struggling with the translation:

Is not a regular file:RewriteCond %{REQUEST_FILENAME} !-f
Is not a regular directory:RewriteCond %{REQUEST_FILENAME} !-d
Is not a favicon: RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]
Rewrite the URL: RewriteRule (.+) index.php?p=$1 [QSA,L]

0 REPLIES 0