开发者

Make subfolder the root folder for everything in subfolder

I am working on a project that i host on my server.

My server is mydomain.com and i want my project to run in mydomain.开发者_如何学运维com/project.

I wish to put an htaccess file in the project subfolder, so that in every file of the project, / will point to mydomain.com/project instead of mydomain.com

So / will be mydomain/project, /lib/img will be mydomain/project/lib/img, etc.

Any help will be greatly appreciated.


you may change your DocumentRoot (apache) value:
add "/project" at the end

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜