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:apache:cpanel [2015/01/13 14:46]
Jackson Zhang [Run Apache behind LSWS for missing features]
litespeed_wiki:apache:cpanel [2015/07/20 18:37]
Michael Alegre removed
Line 33: Line 33:
  
 ===== Run Apache behind LSWS for missing features ===== ===== Run Apache behind LSWS for missing features =====
-There are some rarely used Apache features which are not supported by LSWS, like full "​mod_perl"​ functionalities,​ mod_svn, etc., don't worry, LSWS can forward requests to Apache running behind LSWS. For example, to forward request of SSI page with suffix "​shtml" ​to Apache, do the following:+There are some rarely used Apache features which are not supported by LSWS, like full "​mod_perl"​ functionalities,​ mod_svn, etc., don't worry, LSWS can forward requests to Apache running behind LSWS. For example, to forward request of svn pages to Apache, do the following:
  
   - Listening port of apache should be changed to 79 for HTTP and 442 for HTTP.   - Listening port of apache should be changed to 79 for HTTP and 442 for HTTP.
   - "​Apache Port Offset"​ configuration in LSWS should be changed to "​1",​ so LSWS will use port 80 and 443.   - "​Apache Port Offset"​ configuration in LSWS should be changed to "​1",​ so LSWS will use port 80 and 443.
-  - Set "​Apache Handled Content"​ configuration to "​.shtml",​ this will off load all request to *.shtml to backend Apache, if you want to have apache handle request with certain URL prefix, for example, a svn repository under URI "/​svn/", ​then you can set "​Apache Handled Content"​ to ".shtml, ​/svn/" to let Apache handle both *.shtml and /svn/*+  - If you want to have apache handle request with certain URL prefix, for example, a svn repository under URI "/​svn/", ​Set "​Apache Handled Content" ​configuration ​to "/​svn/"​, this will off load all request ​to /​svn/​* ​to backend Apache.
  
 :!: Make sure "​Port"​ directive has been changed to the port being used. :!: Make sure "​Port"​ directive has been changed to the port being used.
  
-Restart Apache and LSWS, SSI pages should be served by backend Apache now. +Restart Apache and LSWS, svn pages should be served by backend Apache now.