Forum Discussion
mkoushki_127802
Nimbostratus
Jan 03, 2006redirect http://domain.com to http://www.domain.com
Hello
I am looking for simple statment for iRule in v9.x to redirect http://domain.com to http://www.domain.com
please advice
thanks
Hi Jack,
Can you try ps1 instead?
cat status.bash
!/bin/bash
echo "ps1: `ps1`";
echo "\$((getPromptStatus)): $((getPromptStatus))";
bash status.bash
ps1: Active
$((getPromptStatus)): 0
Aaron
- Rory_Hewitt_F5_Apr 17, 2018
Cirrus
You're right. Apologies - I thought I had updated this code to fix that particular buglet. If I can, I'll update it now.
- Rory_Hewitt_F5_Apr 17, 2018
Cirrus
Check out https://devcentral.f5.com/s/articles/cors-implementation, which contains the 'correct' implementation.