rapache-devel team mailing list archive
-
rapache-devel team
-
Mailing list archive
-
Message #00142
[Bug 241021] Re: Support virtual host order
prepending a code to the vhost conf file will currently lose the edit
history....
--
Support virtual host order
https://bugs.launchpad.net/bugs/241021
You received this bug notification because you are a member of Rapache
Developers, which is subscribed to Remote Apache Management tool .
Status in rapache: Confirmed
Bug description:
Supporting many virtual hosts on the same server often requires use of wildcards. In this case, the order of virtual hosts matters. For example, a web application which serves multiple domains simultaneously might be configured with a ServerName of * and if other domains are also to be served by the same Apache server they must be loaded prior to this one.
This requirement may be even more necessary on a development machine where many different sites must be active which wouldn't exist on a single production server.
One solution to forcing order is to place all virtual hosts in a single .conf file. Another is to prepend an order code to the vhost conf files (e.g., 1-siteone, 2-sitetwo) so they are parsed in the required order.
Rapache obviously does not (yet) support the former. I see only a single vhost in Rapache for my single .conf file with many vhosts defined. Perhaps the latter method can be used if order is specified.
References