Install the Apache XData module via vhost

How do I install an Apache XData module in a vhost with its own configuration file?

When using the Location directive, the module is available to every host, including the root host. This makes the server vulnerable.

"<Location / tms>
SetHandler libmod_xdata-handler
</ Location> "

many thanks for the help

Hello Frank,

 You can simply put the SetHandler directly inside your virtual host.