Forum Discussion
HTTPS
- Sep 14, 2015
It looks like there are two things you need to modify here in your config:
- setting the service types to HTTP from TCP on all VIPs/VSs/RSs
- configure the virtual server VIPs to be defaults
Here is a summary of what you will need to update in the configuration. Keep in mind, you will need to admin-offline these items before being able to change service type.
virtual-server vsSecondary attach virtual-ip vipSecondary default virtual-server vsSecondary1 service http attach virtual-ip vipsecondary1 default real-server rss-rep1 service http virtual-ip vipsecondary1 service http virtual-server Webssilo1 attach virtual-ip vipsweb1 default
Doing this, I was able to replicate your configuration and successfully pass traffic to the original servers and replication servers for both HTTP and HTTPS. This should get you up and running, too.
Hello Andrew ,
sorry i came again with two requests .
I noticed that at the replicated server , 1 request appear as two requests however it was appear as 1 request before. as below example 192.168.10.25 - - [28/Sep/2015:05:43:58 -0700] "GET / HTTP/1.1" 301 234 192.168.10.25 - - [28/Sep/2015:05:43:58 -0700] "GET /favicon.ico HTTP/1.1" 301 245
also if i need to get the traffic with users IP not linerate IP what should i do please .
- Andrew_Ragone_2Sep 29, 2015Historic F5 AccountI'm not exactly sure what your first question might be. Can you explain more detail about 1) what your expectations are and 2) what differs from this? There should be two requests that originate out of the LineRate instance with the AB replication script installed. Second, the best way to pass through the client's original IP address is to use the X-Forwarded-For header. Here's a great article from my colleague Satoshi that details how to use this: https://devcentral.f5.com/s/articles/inserting-x-forwarded-for-header-with-linerate
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