RewriteEngine On
RewriteRule ^/$ /app R,L
<Location /app>
ProxyPass http://example.com:8888/app
ProxyPassReverse http://example.com:8888/app
...
</Location>
i am trying to get the absolute url such as /app/xyz/123 when requesting http://www.example.com/app/xyz/123
but using CGI's url() method $q->url(rewrite => 1, absolute => 1); gives me http://www.example.com:8888/app/xyz/123 instead. setting rewrite to false generate '/app' only.
anyone knows the correct to do this? thanks!
In reply to question on CGI module's url with mod_rewrite by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |