<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5296.0" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=010532620-13112006><FONT face=Arial
color=#0000ff size=2>Sounds like you need to have at least three virtualHost
sections, because you have 3 hosts:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=010532620-13112006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=010532620-13112006><FONT face=Arial
color=#0000ff size=2>1. server.mydomain.com (port 80) = your old
app</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=010532620-13112006><FONT face=Arial
color=#0000ff size=2>2. server.mydomain.com:8080 = redirects to
RT</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=010532620-13112006><FONT face=Arial
color=#0000ff size=2>3. <A
href="https://server.mydomain.com">https://server.mydomain.com</A> (port
443) = RT</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=010532620-13112006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=010532620-13112006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=010532620-13112006><FONT face=Arial
color=#0000ff size=2>So,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=010532620-13112006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=010532620-13112006><FONT face=Arial
size=2><FONT size=1>
<P><FONT face=Courier color=#0000ff size=2><VirtualHost 10.41.16.<SPAN
class=010532620-13112006>118</SPAN>:80 ></FONT></P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<P><FONT face=Courier color=#0000ff size=2>ServerName<SPAN
class=010532620-13112006> server</SPAN>.mydomain.com</FONT></P>
<P><SPAN class=010532620-13112006><FONT face=Courier color=#0000ff size=2>**
your "other" app's stuff goes here</FONT></SPAN></P></BLOCKQUOTE></FONT><FONT
size=1>
<P><FONT face=Courier color=#0000ff size=2></VirtualHost></FONT></P>
<P><FONT face=Courier color=#0000ff size=2></FONT> </P><FONT size=2>
<P><FONT face=Courier color=#0000ff size=1><VirtualHost 10.41.16.118:80<SPAN
class=010532620-13112006>80</SPAN> ></FONT></P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<P><FONT face=Courier color=#0000ff size=1>ServerName<SPAN
class=010532620-13112006> </SPAN><SPAN
class=010532620-13112006>server</SPAN>.mydomain.com</FONT></P>
<P><FONT face=Courier color=#0000ff size=1>RedirectMatch permanent (/.*)
</FONT><A href="https://server.mydomain.com$1"><U><FONT face=Courier
size=1>https://<SPAN
class=010532620-13112006>server</SPAN>.mydomain.com$1</FONT></U></A></P></BLOCKQUOTE><FONT
size=1>
<P><FONT face=Courier color=#0000ff></VirtualHost></FONT></P>
<P><FONT face=Courier color=#0000ff></FONT> </P></FONT></FONT>
<P><FONT face=Courier color=#0000ff size=2><VirtualHost
10.41.16.118:443></FONT></P></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=010532620-13112006><FONT face=Arial>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<P><FONT face=Courier color=#0000ff size=2>ServerName <SPAN
class=010532620-13112006>server</SPAN>.mydomain.com</FONT></P>
<P><SPAN class=010532620-13112006><FONT face=Courier color=#0000ff size=2>**
SSL directives here</FONT></SPAN></P>
<P><SPAN class=010532620-13112006><FONT face=Courier color=#0000ff size=2>**
RT stuff here</FONT></SPAN></P></BLOCKQUOTE><FONT face=Courier color=#0000ff
size=2>
<P><FONT face=Courier color=#0000ff></VirtualHost></FONT></P>
<P> </P></FONT></FONT></SPAN></DIV><FONT face=Courier color=#0000ff
size=2></FONT><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] <B>On Behalf Of </B>Sujith
Emmanuel<BR><B>Sent:</B> Friday, November 10, 2006 3:55 AM<BR><B>To:</B>
RT-Users@lists.bestpractical.com<BR><B>Subject:</B> Fwd: [rt-users] Apache SSL
for RT 3.6.1<BR></FONT><BR></DIV>
<DIV></DIV><SPAN class=gmail_quote><BR></SPAN>Actually RT was running over
http for some months, recently we made it public and hence we need to serve it
over ssl. Initial port was 8080 as the other application was running on apache
root. Then we used the rewrite rule to shift to 443 but it was not working,
hence moved to another port 8446 which was working fine. So old users typing
8080 will be taken to port 8446 now. i wanted to make the port for RT 443 so
that there need not be any extra rules in firewall, which somehow seems messed
up. <BR><BR>Sorry for the confusion.<SPAN class=q><BR><BR>Thanks and
Regards<BR>Sujith Emmanuel<BR><BR></SPAN>
<DIV><SPAN class=e id=q_10ed1ee9452a60ce_2>
<DIV><SPAN class=gmail_quote>On 11/10/06, <B class=gmail_sendername>Jon
Daley</B> <<A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:bestpractical@jon.limedaley.com" target=_blank>
bestpractical@jon.limedaley.com</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"> You
don't want anything else running on port 443? That should be
<BR>simple then. You don't need any rewriting or forwarding at
all. Take out<BR>RT, and get apache to respond to some "hello
world" text file on port 443.<BR>Once you get that working, then put RT back
in.<BR><BR>On Fri, 10 Nov 2006, Sujith Emmanuel wrote:<BR>>
Hi,<BR>><BR>> When i did this, i was taken to
another application running on apache<BR>>
root.<BR>> Here is the case, i have an application
running on port 80 and RT <BR>> running on 8080. In the RT's virtual
host, i tried to forward everything to<BR>> port 443 but the page is
going to the other application on root. When i<BR>> tried to forward to
some no standard port like 8446, it is working. <BR>><BR>> How do i
solve this problem? I want the application in root to run on http<BR>>
and RT on ssl.<BR>><BR>> Any ideas?<BR>><BR>> Thanks and
Regards<BR>> Sujith
Emmanuel<BR><BR></BLOCKQUOTE></DIV><BR></SPAN></DIV></BLOCKQUOTE></BODY></HTML>