I have a windows box (which hosts www.example.com) and a linux box (which hosts wordpress blog).
Is there a way I can create a virtual directory on the windows box - so that when a user accesses www.example.com/blog, it gets the content from the linux server? ( I want the url in the browser to remain www.example.com/blog )
Thanks
I have no experience with IIS, but if I had to deal with this problem, I would approach it from a routing point of view. Assuming that no session is maintained on the Windows box, requests for your directory could just be routed to the Linux box.
This would be very easy if you were able to use a subdomain (blog.example.com) rather than a directory, but it's still perfectly possible with a directory. You would need to route the traffic through something that could examine the HOST header, IE an http proxy like squid.
As a second thought, you could use mod_redirect to bounce the user from www.example.com/blog to blog.example.com, they could still land on the desired url, but would be redirected to the subdomain, not pretty, but it would make solving the issue trivial from there.