NameVirtualHost *:80
<VirtualHost *:80>
ServerName test.baidu.com
ProxyPreserveHost on
ProxyPass / http://127.0.0.1:19725/
ProxyPassReverse / http://127.0.0.1:19725/
ErrorLog "logs/test.baidu.com-error.log"
CustomLog "logs/test.baidu.com-access.log" common
</VirtualHost>
一句话解决问题:
# setsebool -P httpd_can_network_connect 1