Listen 192.168.2.148:2000
NameVirtualHost 192.168.2.148:2000<VirtualHost 192.168.2.148:2000>
DocumentRoot D:/chen/ www /nikefed
DirectoryIndex index. html index. php
ServerName 192.168.2.148:2000
<Directory "D:/chen/ www /nikefed">
AllowOverride all
Allow from all
Options -Ind exe s
</Directory>
</VirtualHost>
本文介绍了一个具体的Apache虚拟主机配置示例,包括监听地址与端口、文档根目录、索引文件设置、允许覆盖选项及来源访问控制等关键配置。
1185

被折叠的 条评论
为什么被折叠?



