详情页

Apache反向代理解析二级目录/泛目录教程/apache反向代理/apache泛目录反向代理

时间:2024年05月20日

编辑:佚名

同nginx一样,apache解析目录不需要安装任何东西,在配置文件里加入解析规则即可。
解析规则:
<IfModule mod_proxy.c>
ProxyPreserveHost On
ProxyRequests Off
ProxyPassMatch "^(/目录名.*)""http://ip/1"
ProxyPass /目录名 http://ip/
ProxyPassReverse /目录名 http://ip/ 
</IfModule>    
泛目录程序推荐(莲花泛目录):
https://www.78moban.com/archives/738.html
相关文章
猜你需要