search

Home  >  Q&A  >  body text

phpstudy2018 Apache reverse proxy site domain name management error

<VirtualHost *:80>
    DocumentRoot "D:\work"
    ServerName www.zy.com
ProxyPass / http://127.0.0.1:81/
ProxyPassReverse / http://127.0.0.1:81/
  <Directory "D:\work">
      Options FollowSymLinks ExecCGI
      AllowOverride All
      Order allow,deny
      Allow from all
     Require all granted
  </Directory>
</VirtualHost>

When using the following code, the entire domain name site management becomes garbled. After saving the configuration, ProxyPass is lost

张垚张垚2237 days ago879

reply all(0)I'll reply

No reply
  • Cancelreply