Here is my problem, I have uploaded files via “System ›› File Management : iFile List” , created references under “Local Traffic ›› iRules : iFile List” , wrote an iRule for maintenance page and ttached iRule to one of my virtual servers, however it seems that pictures are not loaded at all. Can you have a look and tell me what can be wrong (although all looks ok to me). All object names and file names are exactly the same to avoid mistakes or typeos in code
Sure I can , I was wondering however what to log , I mean , there is a way to log ifile attributes etc but not sure if this is what you ask to log or do you mean http requests from clients ?
Sure I can , I was wondering however what to log , I mean , there is a way to log ifile attributes etc but not sure if this is what you ask to log or do you mean http requests from clients ?
I have edited code (sorry for formatting, code didn’s want to merge so I had to add ugly spaces ;)) I see only one request, shoudn’t I see all 3 for other objects ? Apr 28 14:03:51 LB01 info tmm1[11145]: Rule /Common/irule_SORRYPAGE : HTML: Requested Hostname: 10.80.6.3 URI: /sorrypage
I have edited code (sorry for formatting, code didn’s want to merge so I had to add ugly spaces ;)) I see only one request, shoudn’t I see all 3 for other objects ? Apr 28 14:03:51 LB01 info tmm1[11145]: Rule /Common/irule_SORRYPAGE : HTML: Requested Hostname: 10.80.6.3 URI: /sorrypage
So I did following, enabled logging before if statement and edited ifiles to use just lower case. Replaced ifiles objects. Current logs look like that :
Nitass, any chance you could have a glance again ? There is no issue with CaSe , I have confirmed it by rewriting code and uploading files again with lower case names, this is what i see in logs : May 13 14:28:02 US3MSOLB01-1 info tmm[11106]: Rule /Common/irule_VHQ_UI-SORRYPAGE : HTTP_REQ: Requested Hostname: vhqint.verifone.com URI: /sp May 13 14:28:02 US3MSOLB01-1 info tmm[11106]: Rule /Common/irule_VHQ_UI-SORRYPAGE : HTTP_REQ: Requested Hostname: vhqint.verifone.com URI: /background May 13 14:28:02 US3MSOLB01-1 info tmm1[11106]: Rule /Common/irule_VHQ_UI-SORRYPAGE : HTTP_REQ: Requested Hostname: vhqint.verifone.com URI: /logo
Nitass, any chance you could have a glance again ? There is no issue with CaSe , I have confirmed it by rewriting code and uploading files again with lower case names, this is what i see in logs : May 13 14:28:02 US3MSOLB01-1 info tmm[11106]: Rule /Common/irule_VHQ_UI-SORRYPAGE : HTTP_REQ: Requested Hostname: vhqint.verifone.com URI: /sp May 13 14:28:02 US3MSOLB01-1 info tmm[11106]: Rule /Common/irule_VHQ_UI-SORRYPAGE : HTTP_REQ: Requested Hostname: vhqint.verifone.com URI: /background May 13 14:28:02 US3MSOLB01-1 info tmm1[11106]: Rule /Common/irule_VHQ_UI-SORRYPAGE : HTTP_REQ: Requested Hostname: vhqint.verifone.com URI: /logo
I will test it today , but then all request will go to sorrypage and I wanted to specify some URI so I can test if that sorrypage works or not while not affecting production (I can test it on seperate vip though). But if I still want to test on the same vip, then if I replace “eq” with “start_with” and in my “switch” sections I change /logo and /background to /sp/logo and /sp/background (before that I will have to edit my html code of course) , will this actually work ?
I will test it today , but then all request will go to sorrypage and I wanted to specify some URI so I can test if that sorrypage works or not while not affecting production (I can test it on seperate vip though). But if I still want to test on the same vip, then if I replace “eq” with “start_with” and in my “switch” sections I change /logo and /background to /sp/logo and /sp/background (before that I will have to edit my html code of course) , will this actually work ?