Re: [users@httpd] Rewrite Issue with SSL Site

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux