Yes! I have a problem with mod_rewrite! It's not very original, I know, but it does bother me. Can anyone explain this:
I'm trying to install Zope. This is in .htaccess and works without a problem:
Code:
RewriteRule ^(.*) \
http://127.0.0.1:8080/VirtualHostBase/http/example.com:80/Plone/VirtualHostRoot/$1 [L,R]
But THIS gives me a "Bad Gateway" error:
Code:
RewriteRule ^(.*) \
http://127.0.0.1:8080/VirtualHostBase/http/example.com:80/Plone/VirtualHostRoot/$1 [L,P]
The difference is that the first one is a redirect and the second is a proxy.
The localhost:8080 page opens without a glitch. If I change the rewrite so that it goes as a proxy to Wikipedia, it works too.
I'm trying to install this Zope site on a commercial host. I have no access to the config files of Apache nor to the log files, thus my using .htaccess.
But EVERYTHING works on its own: the proxy, the localhost page, Zope, everything. It just does not work when it's put together! Could it be something as silly as a timeout? What else? Does anyone have an idea?
Thanks.