Site down (400) http, site works https

Discussion in 'ISPConfig 3 Priority Support' started by unsichtbare, Aug 3, 2017.

  1. unsichtbare

    unsichtbare Member HowtoForge Supporter

    When I browse my website: http://vmsources.com I get nothing at all
    When I browse my website: http://www.vmsources.com, I get:
    ERROR 400 - Bad Request!
    The following error occurred:
    You have used invalid syntax.
    Please contact the webmaster with any queries.​
    When I browse my website: https://www.vmsources.com everything works!
    Any ideas?
     
  2. unsichtbare

    unsichtbare Member HowtoForge Supporter

    Addition - because I do not understand why HTTP (80) is not working - I modified the 400.html to include a meta redirect to https.
    That's not a solution, but it is an interim measure
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Most likely you have some custom apache or nginx config in that website which causes the problem or you use strict transports ecurity so http requests are not allowed anymore or your cms sends the 400 error code.
     
    unsichtbare likes this.
  4. unsichtbare

    unsichtbare Member HowtoForge Supporter

    THX - I do have strict transport security applied!
    So how can I apply best an apache redirect to this website and all subdomains for HTTPS?
    This is what my Apache directives look like now:
     
    Last edited: Aug 4, 2017

Share This Page