0
我用mod_jk配置了apache,将/taste
上下文重定向到我的应用服务器。现在我想创建一个虚拟主机,以便我的域名重定向到这个上下文。Apache mod_jk和虚拟主机
我尝试以下配置在httpd.conf:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName www.suitmytaste.com
ServerAlias suitmytaste.com *.suitmytaste.com
DocumentRoot /taste
</VirtualHost>
但是Apache不接受/味道一部分作为DocumentRoot的。我如何配置它,以便将虚拟主机重定向到mod_jk连接器?