Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have to proxying all request via mod_rewrite from an apache to another.

loaded mod_proxy and mod_rewrite and I configured apache as follow :

<VirtualHost *:8009>
    Options  +FollowSymLinks -Multiviews
    ......
    RewriteEngine on
    RewriteRule ^/abc/(.*)    http://anotherhost/abc/$1    [P,L]
    ....
</VirtualHost>

but the apache return me 505.

this is what Apache writes on rewrite log:

- - [16/Sep/2010:14:13:06 +0200] [myhost/sid#7f9472e763b8][rid#7f94731a6c78/initial] (2) forcing proxy-throughput with http://otherhost/abc/
- - [16/Sep/2010:14:13:06 +0200] [myhost/sid#7f9472e763b8][rid#7f94731a6c78/initial] (1) go-ahead with proxy request proxy:http://otherhost/abc/ [OK]

and this on error log:

[warn] proxy: No protocol handler was valid for the URL /abc/. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.

What I'm missing?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Make sure you've loaded both mod_proxy and the supporting modules (i.e., mod_proxy_http).

Best of luck!

share|improve this answer
    
Yes, I've loaded both :( –  user40747 Sep 16 '10 at 13:13

Your Answer

 
discard

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.