Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:config:enable_quic:apache_configuration_with_cpanel [2017/08/23 20:01]
Jackson Zhang [How to enable QUIC through Apache configuration with cPanel]
litespeed_wiki:config:enable_quic:apache_configuration_with_cpanel [2019/03/28 20:47] (current)
Lisa Clarke [Disabling QUIC at the Virtual Host level]
Line 7: Line 7:
 HTTPS with trusted cert, HTTPS with trusted cert,
 UDP port 443 open at the firewall. UDP port 443 open at the firewall.
 +
 +The followings explan the directives could be possibly used but may not necessary at initial stage.
 +
 +
 +====== Directive examples =====
 ===== Requirements ===== ===== Requirements =====
   * Must have QUIC enabled in GUI/conf   * Must have QUIC enabled in GUI/conf
Line 27: Line 32:
  
 ==== Enabling QUIC at the Server Level ==== ==== Enabling QUIC at the Server Level ====
-  * For EA4: Add following lines to ''/​etc/​apache2/​conf.d/​includes/​pre_main_global.conf''​+For EA4: Add following lines to ''/​etc/​apache2/​conf.d/​includes/​pre_main_global.conf''​
  
   <​IfModule LiteSpeed>​   <​IfModule LiteSpeed>​
Line 34: Line 39:
  
 ==== Enabling QUIC at the Virtual Host level ====  ==== Enabling QUIC at the Virtual Host level ==== 
-  * For EA4: Create a ''​quic_vhosts.conf''​ file in the''/​etc/​apache2/​conf.d/​userdata/''​ then add following lines.+For EA4: Create a ''​quic_vhosts.conf''​ file in the''/​etc/​apache2/​conf.d/​userdata/''​ then add following lines.
  
   <​IfModule LiteSpeed>​   <​IfModule LiteSpeed>​
     QuicEnable on     QuicEnable on
   </​IfModule>​   </​IfModule>​
 +  ​
 +==== Disabling QUIC at the Virtual Host level ==== 
 +For EA4: Create a ''​quic_vhosts.conf''​ file in the ''/​etc/​apache2/​conf.d/​userdata/​str/​2_4/​user/​domain/''​ then add following lines.
 +
 +  <​IfModule LiteSpeed>​
 +    QuicEnable off
 +  </​IfModule>​
 +
 +For SSL website create ''​quic_vhosts.conf''​ in ''/​etc/​apache2/​conf.d/​userdata/​ssl/​2_4/<​user>/<​domain>''​.
 +
 +If you want to disable QUIC for account you can create ''​quic_vhosts.conf''​ in ''/​etc/​apache2/​conf.d/​userdata/​ssl/​2_4/<​user>''​.
 +
 +After that you need to rebuild apache conf with:
  
 +''/​usr/​local/​cpanel/​scripts/​rebuildhttpdconf''​ and restart Litespeed WebServer after that.
  • Admin
  • Last modified: 2017/08/23 20:01
  • by Jackson Zhang