Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
    POOL test_pool ADD

    SET listen          =
    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

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

share|improve this question
up vote 1 down vote accepted

Perlbal route the request trough HTTP so you will the HTTP request need to satisfy webserver's rules or ACL.

Easiest way to check is to emulate the request using curl : eg : curl -vv

Check your server access_log or error_log. If you run virtual webserver you might need to specify a FQDN instead of IP addess.

share|improve this answer
after playing around with a few variations of the S3 url, i found that it can't handle urls like:, but can handle how weird is that? – matt Dec 11 '09 at 15:55
I've run into the same problem before. BIND and majority of dns name server doesn't really like hyphen or non alphabetical character (except for underscore). If you rename the subdomain with underscore it should work. – Rianto Wahyudi Dec 13 '09 at 11:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.