Any thoughts about having two new config containers like these?
Host and HostMatch
Only apply config when ap_get_server_name(r) matches the directive.
This could go after we walk the location.
I have some hacks in some modules where the same Virtual server answers
for multiple names but must
Brian Akins wrote:
Any thoughts about having two new config containers like these?
Host and HostMatch
Only apply config when ap_get_server_name(r) matches the directive. This
could go after we walk the location.
+1, in concept.
I just was looking at the ap_get_server_name() function, and I
Paul Querna wrote:
I just was looking at the ap_get_server_name() function, and I didn't
like how it behaves when UseConicalName is 'on'. It currently will
return 'r-server-server_hostname'. This makes it hard for a dynamic
vhosting module to set it per-request. If we copied the
Jim Jagielski wrote:
Paul Querna wrote:
I just was looking at the ap_get_server_name() function, and I didn't
like how it behaves when UseConicalName is 'on'. It currently will
return 'r-server-server_hostname'. This makes it hard for a dynamic
vhosting module to set it per-request. If we
Paul Querna wrote:
Hmm. Less sure about this one. It seems like it overlaps with other
things like AddOutputFilterbyType, but, it might be a better way to
handle it anyways:
Type application/xml
AddOutputFilter XSLT;DEFLATE
TransformOptions +ApacheFS
/Type
I have cases where I need to