Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/.htaccess/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.htaccess子域_.htaccess_Subdomain - Fatal编程技术网

.htaccess子域

.htaccess子域,.htaccess,subdomain,.htaccess,Subdomain,大家好 如果我键入subdomain.domain.com,我想创建一个.htaccess文件。我可以使用(subdomain)作为查询字符串和类似于domain.com的域 我能得到这方面的帮助吗?:) 坦克 如果有人访问hello.example.com,您希望它重定向到example.com/?domain=hello 请看一看虚拟用户主机部分。否不重定向,而是像(hello.example.com)一样显示在borwser中,但我像(example.com/?domain=hello)

大家好

如果我键入subdomain.domain.com,我想创建一个.htaccess文件。我可以使用(subdomain)作为查询字符串和类似于domain.com的域

我能得到这方面的帮助吗?:)

  • 坦克

如果有人访问hello.example.com,您希望它重定向到example.com/?domain=hello


请看一看虚拟用户主机部分。

否不重定向,而是像(hello.example.com)一样显示在borwser中,但我像(example.com/?domain=hello)一样获得它