[Mono-dev] Mono.Webserver Patch and Unit Tests

Bryan Bell bryan.w.bell at gmail.com
Sun Apr 19 04:49:01 EDT 2009


I've made a small patch to the Mono.WebServer.ApplicationServer and
Mono.WebServer.VPathToHost classes to slightly change the behavior when a
wildcard, '*', is used. With the patch the following works as expected
fastcgi-mono-server2
/applications=*.softpointsolutions.net:/:/home/bbell/html/*
/socket=tcp:127.0.0.1:9000

That is when a user goes to test.softpointsolutions.net the web app in
/home/bbell/html/test is loaded and run. I made the patch since I want to
host multiple subdomains as separate applications and I do not want to
modify a configuration file when a new subdomain is used.

What I want to know is if anyone has unit tests for the classes in the
Mono.WebServer namespace. And if not what I should do to verify that my
patch works as expected before possible submitting it.



-- 
Thanks
Bryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090419/93b68901/attachment.html 


More information about the Mono-devel-list mailing list