karlheyes / icecast-kh

KH branch of icecast
GNU General Public License v2.0
299 stars 107 forks source link

How to handle wildcard mountpoints with server auth #225

Open BenediktGross1982 opened 6 years ago

BenediktGross1982 commented 6 years ago

Hi! I want to allow wildcard mountpoints with the option that the source authenticates with a webserver. How this can be done?

cdgraff commented 6 years ago

Here one example:

  <mount>
        <mount-name>/secure-*</mount-name>
       <authentication type="url">
           <option name="mount_add" value="https://server.com" />
           <option name="mount_remove" value="https://server.com" />
           <option name="auth_header" value="HTTP/1.1 200 OK" />
        </authentication>
   </mount>