eXtropia: the open web technology company
Technology | Support | Tutorials | Development | About Us | Users | Contact Us
Development resources
 ::   WebWare 2.1 (Perl)
 ::   WebWare 2.0 (Java)
 ::   Cool hacks
cool hack
Super quick http-lib.pl fix for virtual hosts  
sent in the following quick fix...

Here's a super quick fix so that the routines in http-lib.pl can GET &
POST to virtual hosts.

Just add:

Host: $hostname

to the HTTP/1.0 headers sent in the 2 relevant subroutines, HTTPGet &
HTTPPost.