简体   繁体   中英

Subdomain using .htaccess only

I wanted to know if it is possible to implement sub domain in a web application, only using trick in the .htaccess file? That is avoiding the following

  1. editing the hosts file for the subdomain link
  2. adding a vhost config for the same

Your help be deeply appreciated.

Thanks.

仅使用apache指令是不可能的。

您可以添加重写命令,以更改到子域的链接。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM