开发者

How to change the URL path in Apache?

I have a url now that is accessed like:

http://s1.name.com/healthApp

I want i开发者_开发知识库t to be accessed it like

http://healthApp.name.com

How do I set this up in Apache (Cent OS)


You will need to setup:

  • A DNS entry pointing the DNS entry healthApp.name.com to your webserver
  • A VirtualHost entry on the server to handle this new host name
  • Set the DocumentRoot of the new vHost to the healthApp directory
  • Check any configuration of your web application so it knows it's running from the new location
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜