I tried assigning a port to each website, but web pages with ports always automatically remove the port. That is, the website that always jumps to the default port.
Is there a better way to achieve this? The LAN is accessible to others.
00练习本2017-09-13 17:07:48
你配置vhosts.conf文件.
<VirtualHost _default_:80>
DocumentRoot "D:/php_laojiu/tpjiaoxuexitong/public"
serverName www.baidu.com
<Directory "D:/php_laojiu/tp/public">
Options +Indexes +FollowSymLinks +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
phpcn_u113292017-09-13 17:03:38
I am learning, I have just started learning, let’s learn slowly together, and you must persist in learning. . . . .