[users@httpd] Rewrite Issue with SSL Site

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

 



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.


David A. Morrow
Technical Systems Lead
Autodata Solutions Company
David.Morrow@xxxxxxxxxxxx
http://www.autodata.net
Tel: (519) 951-6079
Fax: (519) 451-6615 

< Poor planning on your part does not necessarily constitute an
emergency on my part! >

This message has originated from Autodata Solutions. The attached
material is the Confidential and Proprietary Information of Autodata
Solutions. This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please delete
this message and notify the Autodata system administrator at
Administrator@xxxxxxxxxxxx <mailto:Administrator@xxxxxxxxxxxx>


---------------------------------------------------------------------
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