Dave Morrow wrote:
Hi all, I have a webserver which is serving a Tomcat application through
mod_jk (1.2).  The end-users browse the site using SSL only (ie.
https://www.mydomain.com/myapplication )

It's working fine.

I would like to use re-writing to force the root of the website to
rewrite to the application when an end user browses to
https://www.mydomain.com ommitting the "/myapplication"

This works in my httpd.conf but results in a browser redirect which I
would prefer to not have;

RedirectMatch ^/$ /myapplication/login.jsp

This doesn't work under SSL but works without SSL but I cannot figure
out why;

RewriteEngine on
RewriteRule   ^/$  /myapplication  [R]

Does anyone out there have expertise in this area and would be willing
to assist?  Any help would be greatly appreciated.

Remember that the SSL domain is set up separately in your httpd.conf. Did you place the Rewrite directives under both domains?


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to