Forum Moderators: phranque
I'm trying to do a rewrite, so that the URL in the browser doesn't show the redirect URL (should continue to show [mysite.com...] after you've been redirected)
These are the configurations I have in my httpd.conf file:
<Directory "C:/JOnAS-4.8.4/BSOA_base/webapps/autoload/myfile">
Options FollowSymLinks
RewriteEngine On
AllowOverride All
Order allow,deny
Allow from all
RewriteCond %{SERVER_PORT}!^443$
RewriteRule ^/(.*)$ [%{SERVER_NAME}...] [L,R]
</Directory>
ProxyPass /myfile [localhost:9000...]
ProxyPassReverse /myfile [localhost:9000...]
However this doesn't work. Apache is listening on port 443 and 80, and Jonas is running on 9000 (running the myfile webapp).
Thanks for any suggestions!
-- Shanna --
Jim
So I'm NOT doing a redirect, I'm using a proxy to forward my requests from [mysite.com...] to [mysite.com:9000...] I'm trying to use mod_rewrite to manipulate the URL so that it does not show the new URL (I want it to always show [mysite.com...]
Is this possible?
Thanks!
-- Shanna --
[edited by: Shanna7463 at 4:38 pm (utc) on Nov. 14, 2007]