Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 2010 08:33:23 -0700
From:      Joseph Olatt <joji@eskimo.com>
To:        Pamela Pomary <ppomary@ug.edu.gh>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: RT 3.8.6 web page wont display after configuration on FreeBSD 8.0
Message-ID:  <20100510153322.GB31987@shell.eskimo.com>
In-Reply-To: <2255.82.206.239.244.1273482853.squirrel@mailsrv1.ug.edu.gh>
References:  <2255.82.206.239.244.1273482853.squirrel@mailsrv1.ug.edu.gh>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 10, 2010 at 09:14:13AM -0000, Pamela Pomary wrote:
> Hello,
> I have installed rt3.8.6 with apache2-modperl2 on freebsd 8.0. I have
> configured RT_SiteConfig.pm and /apache22/Includes/http-local.conf files
> as directed by RT's wiki website
> http://wiki.bestpractical.com/view/UserManual. I get the following message
> when i want to launch the web page http://monitor.ug.edu.gh/rt/
> 
> You don't have permission to access /rt/ on this server.
> 
> I have included mod_perl in /apache22/Includes/http-local.conf
> 
> When i checked httpd-error.log, it said [Mon May 10 08:56:56 2010] [error]
> [client 82.206.239.244] client denied by server configuration:
> /usr/local/share/rt38/html/
> 
> 
> Below is my RT_SiteConfig.pm and /apache22/Includes/http-local.conf
> respectively:
> 
> 
> Set( $rtname , "ug.edu.gh");
> Set($Organization , "ug.edu.gh");
> Set($MinimumPasswordLength , "5");
> Set($Timezone , 'GMT');
> Set($DatabaseType ,'mysql');
> Set($DatabaseHost , 'localhost');
> Set($DatabaseRTHost , 'localhost');
> Set($DatabaseUser , 'root');
> Set($DatabasePassword , '1234asdf');
> Set($DatabaseName , 'mysql');
> Set($DatabasePort , '');
> Set($DatabaseRequireSSL , undef);
> Set($UseSQLForACLChecks, 1);
> Set($OwnerEmail , 'root');
> Set($LoopsToRTOwner , 1);
> Set($StoreLoops , undef);
> Set($MaxAttachmentSize , 10000000);
> Set($TruncateLongAttachments , undef);
> Set($DropLongAttachments , undef);
> Set($ParseNewMessageForTicketCcs , undef);
> Set($RTAddressRegexp , '^monitor@ug.edu.gh$');
> Set($CanonicalizeEmailAddressMatch , '@monitor\.ug.edu\.gh$');
> Set($CanonicalizeEmailAddressReplace , '@ug.edu.gh');
> Set($CanonicalizeOnCreate, 0);
> Set($SenderMustExitInExternalDatabase , undef);
> Set($ValidateUserEmailAddress,undef);
> Set($ExtractSubjectTagMatch, qr/\[.+? #\d+\]/);
> Set($ExtraSubjectTagNoMatch, ( ${RT::EmailSubjectTagRegex}
>        ? qr/\[(?{RT::EmailSubjectTagRegex}) #\d+\]/
>        : qr/\[\Q$RT::rtname\E #\d+\]/));
> Set($MailCommand , 'sendmailpipe');
> Set($MailCommand , 'sendmailpipe');
> Set($SendmailArguments , "-oi -t");
> Set($SendmailBounceArguments , '-f "<>"');
> Set($SendmailPath , "/usr/sbin/sendmail");
> Set($SMTPServer, undef);
> Set($SMTPFrom,undef);
> Set($SMTPDebug, 0);
> Set(@MailParams, ());
> Set($CorrespondAddress , 'ppomary@ug.edu.gh');
> Set($CommentAddress , 'ppomary@ug.edu.gh');
> Set($DashboardAddress, 'ppomary@ug.edu.gh');
> Set($UseFriendlyFromLine, 1);
> Set($FriendlyFromLineFormat, "\"%s via RT\" <%s>");
> Set($WebPath, "/rt");
> Set($WebBaseURL , "http://monitor.ug.edu.gh");
> Set($WebURL , $WebBaseURL . $WebPath . "/");
> 
> 
>    <Directory /usr/local/share/rt38/html/>
>        AllowOverride None
>        order allow,deny
>        Allow from all
>      </Directory>
> Alias /rt/ /usr/local/share/rt38/html/
> 
> Counting on your help to complete my RT setup soon.
> 
> Thank You.

Have you checked the permissions on /usr/local/share/rt38/html.
If you are using Apache from the ports, then it is probably running
as user "www" and group "www".

User "www" should be able to read and cd into /usr/local/share/rt38/html

I would first check that.

regards,
joseph



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100510153322.GB31987>