Created
June 13, 2018 01:07
-
-
Save tiancheng91/d423bee22869889327c39f0a3375f724 to your computer and use it in GitHub Desktop.
apache 转发
This file contains 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
RewriteEngine On | |
RewriteRule ^$ http://127.0.0.1:XXXXX/ [P,L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ http://127.0.0.1:XXXXX/$1 [P,L] | |
- P: 代理 | |
- L: 匹配到结束 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment