From owner-freebsd-questions@FreeBSD.ORG Mon May 10 15:51:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B2B791065672 for ; Mon, 10 May 2010 15:51:44 +0000 (UTC) (envelope-from joji@eskimo.com) Received: from ultra7.eskimo.com (ultra7.eskimo.com [204.122.16.70]) by mx1.freebsd.org (Postfix) with ESMTP id 913D18FC0C for ; Mon, 10 May 2010 15:51:44 +0000 (UTC) Received: from shell.eskimo.com (root@shell.eskimo.com [204.122.16.72]) by ultra7.eskimo.com (8.14.0/8.14.3) with ESMTP id o4AFXNQj004661; Mon, 10 May 2010 08:33:23 -0700 Received: from shell.eskimo.com (joji@localhost [127.0.0.1]) by shell.eskimo.com (8.14.3/8.14.3) with ESMTP id o4AFXOnD007811; Mon, 10 May 2010 08:33:24 -0700 Received: (from joji@localhost) by shell.eskimo.com (8.14.3/8.12.10/Submit) id o4AFXNBJ007634; Mon, 10 May 2010 08:33:23 -0700 Date: Mon, 10 May 2010 08:33:23 -0700 From: Joseph Olatt To: Pamela Pomary Message-ID: <20100510153322.GB31987@shell.eskimo.com> References: <2255.82.206.239.244.1273482853.squirrel@mailsrv1.ug.edu.gh> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2255.82.206.239.244.1273482853.squirrel@mailsrv1.ug.edu.gh> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: RT 3.8.6 web page wont display after configuration on FreeBSD 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2010 15:51:44 -0000 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 . "/"); > > > > AllowOverride None > order allow,deny > Allow from all > > 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