English 中文(简体)
Perlbal Reproxy with Remote Host
原标题:

why would perlbal s reproxying give me a 503 for any remote url?

X-REPROXY-URL: /path/to/a/local/file.jpg = working
X-REPROXy-URL: http://a-public-file-in-an-s3-bucket.jpg = HTTP 503

my perlbal conf looks like:

CREATE POOL test_pool
    POOL test_pool ADD 127.0.0.1:8888
    POOL test_pool ADD 127.0.0.1:8889

CREATE SERVICE balancer
    SET listen          = 0.0.0.0:80
    SET role            = reverse_proxy
    SET pool            = test_pool
    SET persist_client  = on
    SET persist_backend = on
    SET verify_backend  = on
    SET enable_reproxy  = true

ENABLE balancer

and i know im setting the header properly, because, as i said, it works for local files and urls.

最佳回答

looks like perlbal doesn t deal well with urls like "bucket-name.s3.amazonaws.com". changing the url to "s3.amazonaws.com/bucket-name/" works.

问题回答

暂无回答




相关问题
IIS 6.0 hangs when serving a web-service

I am having issues with one of our web-services. It works fine on my development machine (win XP) whether I host it as a separate application or using cassini from Visual studio. Once I deploy on the ...

ASP.net web services

I am using a web service which sets the Thread.CurrentPrincipal object while logging in and soon later when another webmethod of the same web service accesses Thread.CurrentPrincipal, its different/...

Unity Container Disposing and XML Web Service

I am registering some wrapers over un-managed objects in container. How can I dispose of them at the end of the container s lifetime? Please bear in mind I have an XML Web service.

SharePoint : web service permission error

I have a sharepoint site, and I am calling a standard sharepoint web service. I create the web service request like this : wsDws.Url = this.SiteAddress + @"/_vti_bin/Dws.asmx"; When I use ...

热门标签