访问应用时的 path与location
path: /OpenPlatform/Manage/index.php
location: D:\workspacephp\Project_openPlatform\trunk\OpenPlatform\Manage\index.php
DocumentRoot: 为 D:/workspacephp
我们如果要在浏览器中访问该应用的话,是应该输入 localhost:81//OpenPlatform/Manage/index.php
还是应该:localhost:81/Project_openPlatform/trunk/OpenPlatform/Manage/index.php
我的理解是;我们输入 path就可以了,可以根据path定位到location,但是我发现这样不行。谁能给解释下?
location与path有什么关系?