在httpd.conf最后面加入如下:
Listen 810
<VirtualHost 192.168.1.100:810>
ServerAdmin <a href="mailto:[email protected]">[email protected]</a>
ServerName 192.168.1.100:810
DocumentRoot E:phphtdocsyingkekuaile8tuan
</VirtualHost>
<Directory "E:phphtdocsyingkekuaile8tuan">
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Deny from all
Allow from all
</Directory>
可实现http://192.168.1.100:810访问E:\php\htdocs\yingkekuaile8tuan\
路径下的php网站.
如若转载,请注明出处:https://www.ozabc.com/jianzhan/24467.html