Created
November 3, 2020 22:16
-
-
Save techforum-repo/294b0d0eb06eb2873984aac7d96a488c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
DocumentRoot "c:/Apache24/docs/myexample.com" | |
ServerName myexample.com | |
ErrorLog "logs/myexample.com-error.log" | |
CustomLog "logs/myexample.com-access.log" common | |
ProxyHTMLEnable On | |
ProxyPassMatch "/test1/(.*)" "http://localhost:8080/$1" | |
ProxyPassReverse "/test1/" "http://localhost:8080/" | |
ProxyPassMatch "/test2/(.*)" "http://localhost:8081/$1" | |
ProxyPassReverse "/test2/" "http://localhost:8081" | |
ProxyPassMatch "/(.*)" "http://localhost:8082/$1" | |
ProxyPassReverse "/" "http://localhost:8082/" | |
<Location "/test1/"> | |
ProxyHTMLURLMap / /test1/ | |
</Location> | |
<Location "/test2/"> | |
ProxyHTMLURLMap / /test2/ | |
</Location> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment