Vhost twiddling not configured for requested pair.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Perlbal > Vhost twiddling not configured for requested pair.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Vhost twiddling not configured for requested pair.  
Stephen Gibson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-26-07 06:11 PM

Hey all,

I'm currently running an LJ server with perlbal on the front end. I
encounter the above error when I attempt to make use of the "Upload from
gallery" feature on the update page (I also have an FB install integrated).

I really have no idea what this error means, so if someone could offer
some advise it would be greatly appreciated.

Thanks,
Stephen Gibson






[ Post a follow-up to this message ]



    Re: Vhost twiddling not configured for requested pair.  
Brad Fitzpatrick


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-27-07 06:11 AM

This is a AJAX-helper function of the Vhost.pm plugin.

Basically, on a service selector service, where you'd normally configure
vhosts, you configure a magic vhost like:

VHOST www.dev.lj;using:pics.dev.lj = fotobilder

Which says:

If the HTTP request is to "www.dev.lj", but is actually asking (in the
URI) to be routed to pics.dev.lj, that's okay:  use the "fotobilder"
service for it.

Basically, this is for bypassing the same-origin security restrictions on
JavaScript when both origins are under your control, just with different
hostnames.

If javascript served from "www.dev.lj" wants to do XmlHttpRequest (or
whatever) to pics.dev.lj, it instead makes an HTTP request to:

http://www.dev.lj/__using/pics.dev.lj/some/endpoint.php

Make sense?


On Fri, 26 Jan 2007, Stephen Gibson wrote:

> Hey all,
>
> I'm currently running an LJ server with perlbal on the front end. I
> encounter the above error when I attempt to make use of the "Upload from
> gallery" feature on the update page (I also have an FB install integrated)
.
>
> I really have no idea what this error means, so if someone could offer
> some advise it would be greatly appreciated.
>
> Thanks,
> Stephen Gibson
>
>






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:16 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register