Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
litespeed_wiki:proxy:lsws-as-a-proxy-rewrite [2019/06/05 19:38] Lisa Clarke [Example 4: cpanel webmail like proxy] Copyediting |
litespeed_wiki:proxy:lsws-as-a-proxy-rewrite [2019/06/20 19:08] Jackson Zhang [Use rewrite rules or mod_proxy directive (currently not supported) in .htaccess] |
||
---|---|---|---|
Line 24: | Line 24: | ||
5. After saving, restart LSWS | 5. After saving, restart LSWS | ||
- | ===== Use rewrite rules or mod_proxy directive (currently not supported) in .htaccess ===== | + | ===== Use rewrite rules in .htaccess ===== |
==== Example 1: Proxy to a site on the backend with the same domain name.==== | ==== Example 1: Proxy to a site on the backend with the same domain name.==== | ||
* In Shell or an Editor, edit the .htaccess file normally located in virtualhost document root and add the following: | * In Shell or an Editor, edit the .htaccess file normally located in virtualhost document root and add the following: |