MENU

PHPStudy下Apche做反向代理

November 29, 2019 • 默认分类阅读设置

vhosts.conf

<VirtualHost *:80>
    DocumentRoot "D:\WWW"
    <Proxy *>
    Order deny,allow
    Allow from all
    </Proxy>
    ProxyPass / http://www.evergrandespring.com/
    ProxyPassReverse / http://www.evergrandespring.com/
</VirtualHost>
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
Last Modified: December 6, 2019
Archives QR Code Tip
QR Code for this page
Tipping QR Code