[rt-users] Web interface configuration question
Easyrider Inquiry
Inquiry at Easyrider.com
Mon Oct 5 18:53:53 EDT 2009
The images are because we didn't deal with NoAuth yet.
>
> Now that we've gotten this far, try adding a second location directive
> right after the first with:
> <Location /rt/NoAuth/images>
> SetHandler default
> </Location>
>
> That should turn off the FastCGI for the image directory (as per
> http://wiki.bestpractical.com/view/ManualInstallation).
>
> I'm not sure why your logins would still be going awry, as that should
> all be dealt with from $WebURL. Maybe check the access-log and see
> what page is requesting index.html to start narrowing things down.
>
> Also, make sure you don't have any extraneous /rt related aliases or
> redirects hanging around from earlier testing.
On a new browser session, http://backup.easyrider.com/rt gives the login
window. Once you enter the username/pw. it immediately goes to
/var/www/html/index.html. Log snippet follows:
Still not displaying the logo and URL that's in RT_siteconfig.pm which
may be related or a separate issue. Otherwise the graphics seem fine
now. I did a grep and a careful inspection and I don't see any
spurious, unwanted references to rt hanging around. I "think" (fingers
crossed) that you now have httpd.conf 100%.
A reload does recognize changes to $WebPath but is not honoring $WebLogo
so focusing on $WebURL makes sense. Again, backup.easyrider.com is not
yet registered in DNS so I am using localhost in RT_siteconfig.pm. The
web server is dual homed and is accessible vi an ISP-assigned IP address
(through my DMZ) as well as an internal NAT address. Accessing RT via
either NIC seems to always give the same results.
[root at security frankie]# perl -c /opt/rt3/etc/RT_SiteConfig.pm
/opt/rt3/etc/RT_SiteConfig.pm syntax OK
192.168.1.104 - - [05/Oct/2009:15:24:45 -0700] "GET /rt HTTP/1.1" 200
4830 "-" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)"
192.168.1.104 - - [05/Oct/2009:15:24:56 -0700] "POST /index.html
HTTP/1.1" 200 19739 "http://192.168.1.50/rt" "Mozilla/4.0 (compatible;
MSIE 8.0; Windows NT 5.1; Trident/4.0)"
192.168.1.104 - - [05/Oct/2009:15:24:56 -0700] "GET /_graphics/sky.jpg
HTTP/1.1" 304 - "http://192.168.1.50/index.html" "Mozilla/4.0
(compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)"
# ----- START -----------------------
Set($WebPath , "/rt");
Set($WebPort , 80);# + ($< * 7274) % 32766 + ($< && 1024));
#Set($WebBaseURL , "http://backup.easyrider.com:$WebPort");
Set($WebBaseURL , "http://localhost:$WebPort");
Set($WebURL , $WebBaseURL . $WebPath . "/");
Set($WebImagesURL , $WebPath . "/NoAuth/images/");
Set($LogoURL , $WebImagesURL . "bplogo.gif");
Set($LogoLinkURL, 'http://security.nocdesigns.com');
Set($LogoAltText, "Easyrider LAN Pro");
# WebNoAuthRegex - What portion of RT's URLspace should not require
# authentication.
Set($WebNoAuthRegex, qr!^(?:/+NoAuth/|
/+REST/\d+\.\d+/NoAuth/)!x );
#------ END -----------------------
More information about the rt-users
mailing list