[rt-users] httpd.conf configuration problem

Easyrider Inquiry Inquiry at Easyrider.com
Sun Oct 11 21:14:37 EDT 2009


James Moseley wrote:
> On Sun, Oct 11, 2009 at 6:13 PM, Easyrider Inquiry
> <Inquiry at easyrider.com <mailto:Inquiry at easyrider.com>> wrote:
>
>
>     What I want is to access RT via
>     http//backup.easyrider.com/helpdesk
>     <http://backup.easyrider.com/helpdesk>
>
>     <NameVirtualHost *:80
>       <VirtualHost *:80>
>        ServerName backup.easyrider.com <http://backup.easyrider.com>
>        AddDefaultCharset UTF-8
>        AddHandler fastcgi-script .fcgi
>        Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images
>        ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
>      </VirtualHost>
>
>
> Think about it.  How does the above configuration tell Apache how to
> handle a /helpdesk request?
>
> You need to change the Alias and ScriptAlias lines to:
>
> Alias /helpdesk/NoAuth/images /opt/rt3/share/html/NoAuth/images
> ScriptAlias /helpdesk /opt/rt3/bin/mason_handler.fcgi/
>
> The RT_SiteConfig.pm should have the following:
>
> Set($WebPath , "/helpdesk");
> Set($WebBaseURL , "http://backup.easyrider.com
> <http://backup.easyrider.com/helpdesk>");
> Set($WebImagesURL , $WebPath . "/NoAuth/images/");
>
> I'd get rid of all the other Set($Web syntax....
>
> The above should allow you to properly run RT at:
>
> http://backup.easyrider.com/helpdesk
>
> 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:
>
>
> http://backup.easyrider.com/helpdesk/
>
> -- 
> James Moseley
Hello James.  Thanks VERY much for responding.

Unfortunately, no luck :(

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.

/opt/rt3/etc/RT_SiteConfig.pm:

# ---- Latest advice START ---------

Set($WebPath , "/helpdesk");
Set($WebBaseURL , "http://backup.easyrider.com");
Set($WebImagesURL , $WebPath . "/NoAuth/images/");

Set($WebPort , 80);# + ($< * 7274) % 32766 + ($< && 1024));
Set($WebURL , $WebBaseURL . $WebPath . "/");
Set($LogoURL , $WebImagesURL . "bplogo.gif");
Set($LogoLinkURL, 'http://security.nocdesigns.com');
Set($LogoAltText, "Easyrider LAN Pro");
Set($WebNoAuthRegex, qr!^(?:/+NoAuth/|
                            /+REST/\d+\.\d+/NoAuth/)!x );

# ---- Latest advice END -----------

/etc/httpd/conf/httpd.conf:

# Latest RT config experiment give internal server error

# ----- Latest advice START ---------

      <VirtualHost *:80>
       ServerName backup.easyrider.com
       AddDefaultCharset UTF-8
       AddHandler fastcgi-script .fcgi
       Alias /helpdesk/NoAuth/images /opt/rt3/share/html/NoAuth/images
       ScriptAlias /helpdesk /opt/rt3/bin/mason_handler.fcgi/
     </VirtualHost>

# ---- Latest advice END -----------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20091011/c81c4a4c/attachment.htm>


More information about the rt-users mailing list