Article ID: 116717, created on Aug 12, 2013, last review on May 10, 2014


  1. Website hosted with Parallels H-Sphere shows 400 ERROR

  2. POST or GET request contains special symbols, e.g. ? or -

  3. Configuration file /hsphere/local/home/cpanel/hsphere/WEB-INF/classes/shiva-templates/common/domain/vhost.config contains:

    # a fix of PHP CGI vulnerability
    <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteCond %{QUERY_STRING} ^[^=]*$
        RewriteCond %{QUERY_STRING} %2d|\- [NC]
        RewriteRule .? -[F,L]+


Incorrect version on the /hsphere/local/home/cpanel/hsphere/WEB-INF/classes/shiva-templates/common/domain/vhost.config


Replace the /hsphere/local/home/cpanel/hsphere/WEB-INF/classes/shiva-templates/common/domain/vhost.config with original one from RPM.

2e39a5e5b1423cc126cf735bac076008 6311ae17c1ee52b36e68aaf4ad066387 f213b9fa8759d57bee5d547445806fe7

Email subscription for changes to this article
Save as PDF