[mod_cluster-issues] [JBoss JIRA] Commented: (MODCLUSTER-77) Add logic to support Alias (in server.xml) and NameVirtualHost (in httpd.conf)
Jean-Frederic Clere (JIRA)
jira-events at lists.jboss.org
Tue Jul 21 06:52:40 EDT 2009
[ https://jira.jboss.org/jira/browse/MODCLUSTER-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12476982#action_12476982 ]
Jean-Frederic Clere commented on MODCLUSTER-77:
-----------------------------------------------
It is "easy" just test ap_get_server_name() with vhost->host.
It will be switchable via UseAlias:
UseAlias - Check that the Alias corresponds to the ServerName 0: Don't (ignore Aliases), 1: Check it (Default: 0 Ignore)
> Add logic to support Alias (in server.xml) and NameVirtualHost (in httpd.conf)
> ------------------------------------------------------------------------------
>
> Key: MODCLUSTER-77
> URL: https://jira.jboss.org/jira/browse/MODCLUSTER-77
> Project: mod_cluster
> Issue Type: Feature Request
> Environment: Configuration VirtualHost
> Reporter: Jean-Frederic Clere
> Assignee: Jean-Frederic Clere
> Fix For: 1.0.1.GA
>
>
> From httpd docs there is the following
> +++
> NameVirtualHost *:80
> <VirtualHost *:80>
> ServerName www.domain.tld
> ServerAlias domain.tld *.domain.tld
> DocumentRoot /www/domain
> </VirtualHost>
> <VirtualHost *:80>
> ServerName www.otherdomain.tld
> DocumentRoot /www/otherdomain
> </VirtualHost>
> +++
> How to make this fit with the server.xml:
> <Host name="www.otherdomain.tld".. />
> <Host name="domain.tld" ... />
> The Alias and name of jboss side are received in httpd by the ENABLE_APP commands.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the mod_cluster-issues
mailing list