<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
James Moseley wrote:
<blockquote
id="mid_e65c7db50910111703g4cb99eaag50ac2f9a400a4c82_mail_gmail_com"
cite="mid:e65c7db50910111703g4cb99eaag50ac2f9a400a4c82@mail.gmail.com"
type="cite">On Sun, Oct 11, 2009 at 6:13 PM, Easyrider Inquiry <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:Inquiry@easyrider.com">Inquiry@easyrider.com</a>></span>
wrote:<br>
<div class="gmail_quote">
<blockquote id="StationeryCiteGenerated_1" class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
What I want is to access RT via http//<a moz-do-not-send="true"
href="http://backup.easyrider.com/helpdesk" target="_blank">backup.easyrider.com/helpdesk</a><br>
<br>
<NameVirtualHost *:80<br>
<VirtualHost *:80><br>
ServerName <a moz-do-not-send="true"
href="http://backup.easyrider.com" target="_blank">backup.easyrider.com</a><br>
AddDefaultCharset UTF-8<br>
AddHandler fastcgi-script .fcgi<br>
Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images<br>
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/<br>
</VirtualHost><br>
</blockquote>
<div><br>
Think about it. How does the above configuration tell Apache how to
handle a /helpdesk request?<br>
<br>
You need to change the Alias and ScriptAlias lines to:<br>
<br>
Alias /helpdesk/NoAuth/images /opt/rt3/share/html/NoAuth/images<br>
ScriptAlias /helpdesk /opt/rt3/bin/mason_handler.fcgi/<br>
<br>
The RT_SiteConfig.pm should have the following:<br>
<br>
Set($WebPath , "/helpdesk");<br>
Set($WebBaseURL , "<a moz-do-not-send="true"
href="http://backup.easyrider.com/helpdesk" target="_blank">http://backup.easyrider.com</a>");<br>
Set($WebImagesURL , $WebPath . "/NoAuth/images/");<br>
<br>
I'd get rid of all the other Set($Web syntax....<br>
<br>
The above should allow you to properly run RT at:<br>
<br>
<a moz-do-not-send="true" href="http://backup.easyrider.com/helpdesk">http://backup.easyrider.com/helpdesk</a><br>
<br>
Depending on your exact Apache config (and mod_perl vs. mod_fastcgi),
you may need to put a trailing / at the end of the URL in order for
things to properly work:<br>
<br>
<br>
<a moz-do-not-send="true" href="http://backup.easyrider.com/helpdesk/">http://backup.easyrider.com/helpdesk/</a><br>
</div>
</div>
<br>
-- <br>
James Moseley<br>
</blockquote>
Hello James. Thanks VERY much for responding.<br>
<br>
Unfortunately, no luck :(<br>
<br>
Rather than experiment with a million more combinations before
replying, I'll just post the current configuration (which I believe are
teh settings you advised) and say that I am now getting an internal
server error: The server encountered an internal error or
misconfiguration and was unable to complete your request.
<br>
<br>
/opt/rt3/etc/RT_SiteConfig.pm:<br>
<br>
# ---- Latest advice START ---------<br>
<br>
Set($WebPath , "/helpdesk");<br>
Set($WebBaseURL , <a class="moz-txt-link-rfc2396E" href="http://backup.easyrider.com">"http://backup.easyrider.com"</a>);<br>
Set($WebImagesURL , $WebPath . "/NoAuth/images/");<br>
<br>
Set($WebPort , 80);# + ($< * 7274) % 32766 + ($< &&
1024));<br>
Set($WebURL , $WebBaseURL . $WebPath . "/");<br>
Set($LogoURL , $WebImagesURL . "bplogo.gif");<br>
Set($LogoLinkURL, '<a class="moz-txt-link-freetext" href="http://security.nocdesigns.com">http://security.nocdesigns.com</a>');<br>
Set($LogoAltText, "Easyrider LAN Pro");<br>
Set($WebNoAuthRegex, qr!^(?:/+NoAuth/|<br>
/+REST/\d+\.\d+/NoAuth/)!x );<br>
<br>
# ---- Latest advice END -----------<br>
<br>
/etc/httpd/conf/httpd.conf:<br>
<br>
# Latest RT config experiment give internal server error<br>
<br>
# ----- Latest advice START ---------<br>
<br>
<VirtualHost *:80><br>
ServerName backup.easyrider.com<br>
AddDefaultCharset UTF-8<br>
AddHandler fastcgi-script .fcgi<br>
Alias /helpdesk/NoAuth/images /opt/rt3/share/html/NoAuth/images<br>
ScriptAlias /helpdesk /opt/rt3/bin/mason_handler.fcgi/<br>
</VirtualHost><br>
<br>
# ---- Latest advice END -----------<br>
<br>
</body>
</html>