<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Does anyone else have problems with apache not starting/restarting RT so that changes to the RT_SiteConfig.pm file are seen on the Web? I still cannot find a resolution to this.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com]
<b>On Behalf Of </b>Eyler, Sarah [USA]<br>
<b>Sent:</b> Thursday, June 27, 2013 1:06 PM<br>
<b>To:</b> rt-users@lists.bestpractical.com<br>
<b>Subject:</b> [rt-users] Problem with RT_SiteConfig changes Showing on Web<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">System Information:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">OS: RHEL 5.9<o:p></o:p></p>
<p class="MsoNormal">RT version 4<o:p></o:p></p>
<p class="MsoNormal">Apache 2.2.24<o:p></o:p></p>
<p class="MsoNormal">Mod_perl 2.0 (statically linked)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">DNS is a little weird. The server is located in a domain different from the one where users access the web site. For instance the server’s name is host.domainA but is accessed via the web by host.domainB. The server has a DNS A Record
on domainB’s DNS server. The server has an A record and an alias on domainA’s DNS server. My RT_SiteConfig sets the $rtname, $Organization, and $webdomain to the host.domainB name.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><VirtualHost xxxxxxxxxx><o:p></o:p></p>
<p class="MsoNormal"> ErrorLog /opt/rt4/var/log/apache2.error<o:p></o:p></p>
<p class="MsoNormal"> TransferLog /opt/rt4/var/log/apache2.access<o:p></o:p></p>
<p class="MsoNormal"> LogLevel debug<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> AddDefaultCharset UTF-8<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> DocumentRoot "/opt/rt4/share/html"<o:p></o:p></p>
<p class="MsoNormal"> <Location /><o:p></o:p></p>
<p class="MsoNormal"> Order allow,deny<o:p></o:p></p>
<p class="MsoNormal"> Allow from all<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> SetHandler modperl<o:p></o:p></p>
<p class="MsoNormal"> PerlResponseHandler Plack::Handler::Apache2<o:p></o:p></p>
<p class="MsoNormal"> PerlSetVar psgi_app /opt/rt4/sbin/rt-server<o:p></o:p></p>
<p class="MsoNormal"> </Location><o:p></o:p></p>
<p class="MsoNormal"> <Perl><o:p></o:p></p>
<p class="MsoNormal"> use Plack::Handler::Apache2;<o:p></o:p></p>
<p class="MsoNormal"> Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");<o:p></o:p></p>
<p class="MsoNormal"> </Perl><o:p></o:p></p>
<p class="MsoNormal"></VirtualHost><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am new to RT and recently stood up my RT server. I am still in the initial configuration stage. When I make changes to the RT_SiteConfig.pm file I then stop/start httpd. However, the changes never make it to the web until I reboot
the server. Additionally, when the server comes back up from the reboot, httpd has started but RT has not. I have to start RT by running the command: “rt-server &”. I thought that RT should stop/start with httpd. Does anyone know if there is something
I need to do so that when I stop/start apache the RT config will effect its changes to the web? Also, if anyone can tell me if RT is supposed to start/stop with Apache?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have tried making changes to the way my VH is configured in by using the IP, the name, and *. My httpd.conf file is configured to use the httpd-vhosts.conf file. Running httpd –t shows that my vhost file is syntactically correct.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have googled, searched the wiki, and searched through past rt-users inquiries to no avail. The only thing I found was that you need to stop/start httpd rather than just restarting it.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal">Sarah<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>