Forum Discussion
Ryan_Kiste_7775
Nimbostratus
Jun 01, 2009Dynamic Pool redirection
I am attempting to create a dynamic irule that redirects based on the users HTTP::host. Below is a static implementation of my requirements.
when HTTP_REQUEST {
switch [HTTP::host] {
...
it was not created in my gear after i deleted it until it got rotated (by logrotate). so, if you want to purge the log, i think it may be better to empty log.
e.g.
[root@ve11a:Active:In Sync] config ls -l /var/log/ltm
-rw------- 1 root root 1555 Feb 10 19:58 /var/log/ltm
[root@ve11a:Active:In Sync] config cat > /var/log/ltm
[root@ve11a:Active:In Sync] config
[root@ve11a:Active:In Sync] config ls -l /var/log/ltm
-rw------- 1 root root 0 Feb 10 20:01 /var/log/ltm