w 有无\的区别。
https://httpd.apache.org/docs/2.4/vhosts/examples.html
hosts
1 127.0.0.1 w.w
httpd.conf
ServerName w.w # # Deny access to the entirety of your server‘s filesystem. You must # explicitly permit access to web content directories in other # <Directory> blocks below. # DocumentRoot "D:\WWW\new\tx\ci\cicode" <Directory /> Options +Indexes +FollowSymLinks +ExecCGI AllowOverride All Order allow,deny Allow from all Require all granted </Directory>
时间: 2024-10-23 13:15:26