<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Bennett, Bevan (IS) wrote:
<blockquote id="mid_4ACA3094_1010602_ngc_com"
cite="mid:4ACA3094.1010602@ngc.com" type="cite">
<blockquote id="StationeryCiteGenerated_4" type="cite"><font
color="black" face="Verdana,Arial,Helvetica" size="2"><font
color="black" face="Verdana,Arial,Helvetica" size="2"><font
color="#660066"># RT
Stuff <br>
</font> <br>
Alias /rt/ "/opt/rt3/share/html/" <br>
Alias /rt "/opt/rt3/share/html/" <br>
Alias /helpdesk/ "/opt/rt3/share/html/" <br>
Alias /helpdesk "/opt/rt3/share/html/" <br>
<br>
NameVirtualHost *:80 # Tried 443, no-go <br>
<VirtualHost *:80> # Ditto <br>
ServerAdmin Certified_Today[at]Easyrider.com <br>
ServerName backup.easyrider.com <br>
DocumentRoot /opt/rt3/share/html/ <br>
AddDefaultCharset UTF-8 <br>
<font color="#660066"> # Adding the following for RT (the ticket
tracker) <br>
</font> AddHandler fastcgi-script .fcgi <br>
<Directory "/opt/rt3/share/html"> <br>
Options FollowSymLinks ExecCGI <br>
AllowOverride None <br>
</Directory> <br>
<font color="#660066"> # Pass through requests to for noauth <br>
</font> Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images <br>
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/ <br>
</VirtualHost> <br>
</font></font></blockquote>
<br>
Hey, my mailing-list membership isn't up yet, but I think I can help
you.<br>
This is a close translation of what we have to enable what you're
looking for.<br>
<br>
What you want is something like this:<br>
# Allow access to the RT html area<br>
<Directory <font color="black" face="Verdana,Arial,Helvetica"
size="2"><font color="black" face="Verdana,Arial,Helvetica" size="2">/opt/rt3/share/html">
<br>
Options FollowSymLinks ExecCGI <br>
AllowOverride None <br>
</Directory><br>
<br>
# Keep your core system core<br>
</font></font><font color="black" face="Verdana,Arial,Helvetica"
size="2"><font color="black" face="Verdana,Arial,Helvetica" size="2"><VirtualHost
*:80><br>
</font></font><font color="black" face="Verdana,Arial,Helvetica"
size="2"><font color="black" face="Verdana,Arial,Helvetica" size="2">
ServerName backup.easyrider.com<br>
</font></font><font color="black" face="Verdana,Arial,Helvetica"
size="2"><font color="black" face="Verdana,Arial,Helvetica" size="2">
DocumentRoot /var/www/html<br>
<br>
# Now add the handlers and aliases for RT, *to the RT location*<br>
</font></font><font color="black" face="Verdana,Arial,Helvetica"
size="2"><font color="black" face="Verdana,Arial,Helvetica" size="2">Alias
/rt /opt/rt3/share/html/<br>
<Location /rt><br>
SetHandler perl-script<br>
PerlResponseHandler RT::Mason<br>
</Location><br>
<Location /rt/NoAuth/images><br>
SetHandler default<br>
</Location><br>
</font></font><font color="black" face="Verdana,Arial,Helvetica"
size="2"><font color="black" face="Verdana,Arial,Helvetica" size="2"></VirtualHost><br>
</font></font></blockquote>
Thanks VERY much for the concise instructions Bevan! Just what I was
hoping for. Unfortunately, your example didn't work :(<br>
<br>
I think you are on the right track and I have previously tried
combinations very close to yours based on various threads I've read on
this topic. I think it's the <location> section that's causing
problems. If I comment it out, I get the BP "almost there" page. With
it in there, I get an internal server error.<br>
<br>
The server name is not yet registered in DNS... don't know if that's a
factor. I toggle the WebPath and WebBaseURL settings for each test
iteration with no change in results. Doing an httpd restart each time,
of course. I changed httpd.conf to look EXACTLY like your example and
when it didn't work I tried various combinations so as to not bother
the list without fully trying to fix this on my own.<br>
<br>
/opt/rt3/etc/RT_SiteConfig.pm:<br>
# ----- START -----------------------<br>
<br>
#Set($WebPath , "");<br>
Set($WebPath , "/rt");<br>
<br>
Set($WebPort , 80);# + ($< * 7274) % 32766 + ($< &&
1024));<br>
<br>
#Set($WebBaseURL , <a class="moz-txt-link-rfc2396E"
href="http://backup.easyrider.com:$WebPort">"http://backup.easyrider.com:$WebPort"</a>);<br>
Set($WebBaseURL , <a class="moz-txt-link-rfc2396E"
href="http://localhost:$WebPort">"http://localhost:$WebPort"</a>);<br>
<br>
Set($WebURL , $WebBaseURL . $WebPath . "/");<br>
<br>
#------ END -----------------------<br>
<br>
/etc/httpd/conf/httpd.conf:<br>
<br>
# ----- START ---------<br>
<br>
# Allow access to the RT html area<br>
<Directory /opt/rt3/share/html"><br>
Options FollowSymLinks ExecCGI<br>
AllowOverride None<br>
</Directory><br>
<br>
# Keep your core system core<br>
<VirtualHost *:80><br>
ServerName backup.easyrider.com<br>
DocumentRoot /var/www/html<br>
<br>
# Now add the handlers and aliases for RT, *to the RT location*<br>
Alias /rt /opt/rt3/share/html/<br>
<br>
# Enabling the following produces an internal server error page<br>
# Commenting it out gives a BP almost there page<br>
<br>
# <Location /rt><br>
# SetHandler perl-script<br>
# PerlResponseHandler RT::Mason<br>
# </Location><br>
<Location /rt/NoAuth/images><br>
SetHandler default<br>
</Location><br>
</VirtualHost><br>
<br>
# Experiment end<br>
# ----- END ----------<br>
<br>
</body>
</html>