Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

“Bad Request (Invalid Hostname)” appears when InterScan Web Security Virtual Appliance (IWSVA) 6.0 in reverse proxy is deployed for virtual hosting

    • Updated:
    • 26 Jan 2016
    • Product/Version:
    • InterScan Web Security Virtual Appliance 6.0
    • InterScan Web Security Virtual Appliance 6.5
    • Platform:
    • Virtual Appliance 5.1
Summary

You would like IWSVA in reverse proxy configuration to protect a web server that is hosting several websites by virtual hosting.

When testing the deployment with a single server IP, you get the error “Bad Request (Invalid Hostname)" on your browser.

Details
Public

The issue occurs because IWSVA overwrites the Host header in the HTTP request with the IP or FQDN of the web server configured in IWSVA.

To resolve the issue, configure IWSVA not to overwrite the Host header:

  1. Open the /etc/iscan/intscan.ini configuration file of IWSVA and set “ProxyPreserveHost" to "yes".
    This prevents the proxy from overwriting the Host header of requests before forwarding them to the original server. This is useful when the original server supports virtual hosts.
  2. In the deployment wizard, configure the protected server IP as the unique IP address of the actual web server.
  3. Configure the A record of the hostnames of the virtual websites to be the IWSVA IP address in DNS.

IWSVA will then support the deployment for virtual hosting with a single server IP.

Premium
Internal
Rating:
Category:
Configure; Deploy
Solution Id:
1099794
Feedback
Did this article help you?

Thank you for your feedback!

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support


To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.


Need More Help?

Create a technical support case if you need further support.