开发者

Multiple DocumentRoot in XAMPP or Apache

What would be the best way to set up XAMPP so that when I go to

http://localhost1 it access the folder C:\开发者_如何学运维localhost1

and when I type

http://localhost2 it access the folder C:\localhost2?


I've done a response yesterday that should fit your needs: Modify htaccess file for two sites


Use Alias in apache conf

http://www.apachefriends.org/f/viewtopic.php?f=16&t=36801

Make XAMPP/Apache serve file outside of htdocs

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜