Results 1 to 2 of 2

Thread: A mistake in VHost.xml file where don't leave HTTProviders working

  1. #1
    Join Date
    Mar 2014
    Posts
    4

    Default A mistake in VHost.xml file where don't leave HTTProviders working

    Hello !

    After a hours of trying to get my custom HTTProvider working, I reached to a solution.
    In the last HTTPProvider tag in VHost.xml file there is :
    					<HTTPProvider>
    						<BaseClass>com.wowza.wms.http.HTTPServerVersion</BaseClass>
    						<RequestFilters>*</RequestFilters>
    						<AuthenticationMethod>none</AuthenticationMethod>
    					</HTTPProvider>
    If we look at the content of RequestFilters tag we see that the provider booking all request filters, so if I put another custom provider below this provider with different RequestFilters it will not work because HTTPServerVersion provider booking all request filters.
    To resolve the problem you need to put any new custom provider above HTTPServerVersion in order to take its own request filter, so the order of HTTProviders is important.

    I hope that I helped you and I suggest that to change HTTPServerVersion, RequestFilters content to something like *serverinfo...

    Ali

  2. #2
    Join Date
    Jun 2012
    Posts
    723

    Default

    Hello,

    Yes, you are right.
    The HTTPprovider having the <RequestFilters>*</RequestFilters> needs to be last in the HTTP providers list.

    Zoran

Similar Threads

  1. Replies: 15
    Last Post: 02-21-2013, 03:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •