Is there a way to use something like RewriteRule ... [PT] for an external URL?
- by nbolton
I have a non-apache web server running on port 8000, but this cannot be accessed from behind corporate firewalls. So, I would like to use my apache 2 server as a proxy to this other web server. I've tried using:
RewriteEngine On
RewriteRule /.* http://buildbot.synergy-foss.org:8000/builders/ [PT]
... but this does not work; I get:
Bad Request
Your browser sent a request that this
server could not understand.
However, it worked fine with [R].
Update:
Also, when using ProxyPass, I get this error:
Forbidden
You don't have permission to access /
on this server.