Forum Discussion
iRule https redirection
Even Stranger,
So I did two different curl request to the https version of the website.
[root@F5:Active:Standalone] config nfig curl -iv https://abc.com - -insecure * About to connect() to abc.com port 443 (0) * Trying IP... connected * Connected to abc.com (IP) port 443 (0) * successfully set certificate verify locations: * CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none * SSLv3, TLS handshake, Client hello (1): * SSLv3, TLS handshake, Server hello (2): * SSLv3, TLS handshake, CERT (11): * SSLv3, TLS handshake, Server finished (14): * SSLv3, TLS handshake, Client key exchange (16): * SSLv3, TLS change cipher, Client hello (1): * SSLv3, TLS handshake, Finished (20): * SSLv3, TLS change cipher, Client hello (1): * SSLv3, TLS handshake, Finished (20): * SSL connection using AES256-SHA256 * Server certificate:
GET / HTTP/1.1 User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 OpenSSL/1.0.1 e zlib/1.2.3 libidn/0.6.5 Host: abc.com Accept: /
- SSL read: error:00000000:lib(0):func(0):reason(0), errno 104
- Closing connection 0
The next time, i get expected results, but in the chrome browser, https://abc.com is still taking me to a blank page. When I try IE 11 it works without any problems. Then a few minutes later its back to taking me to the F5. at https://abc.com/tmui/login.jsp
F5 is strange.
- Casey_Parman_24Jan 12, 2016
Nimbostratus
Also if i browse to the specific /foo then i get Object not found until I remove the iRule. - ArieJan 12, 2016
Altostratus
Can you try accessing the home page from a fresh incognito/private browser window (make sure you close any open incognito/private instances first). By the way, "curl -I https://abc.com" would give you less noise in the output. Lastly, if you still don't get satisfactory results I'd try the rewrite on port 80 first. Once it's working you can move it to 443. - ArieJan 12, 2016
Altostratus
Dev mode in the browser might give you some clues also. Or use Fiddler to monitor what's happening (HTTP headers mainly). - Casey_Parman_24Jan 12, 2016
Nimbostratus
In (Private) browser it still takes me to the f5 log in screen. Going to the /foo page I get object not found. - ArieJan 13, 2016
Altostratus
/foo on 443 or 80? For the root, does it go to the log-in screen directly or are there multiple redirects? Are you using a dedicated IP-address for the VIP?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com