开发者

Multiple DocumentRoot in XAMPP or Apache

开发者 https://www.devze.com 2023-02-02 19:34 出处:网络
What would be the best way to set up XAMPP so that when I go to http://localhost1 it access the folder C:\\开发者_如何学运维localhost1

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

精彩评论

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