RT 3.8.6 web page wont display after configuration on FreeBSD 8.0

2010-05-10 Thread Pamela Pomary
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 , 1000);
Set($TruncateLongAttachments , undef);
Set($DropLongAttachments , undef);
Set($ParseNewMessageForTicketCcs , undef);
Set($RTAddressRegexp , '^moni...@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 , 'ppom...@ug.edu.gh');
Set($CommentAddress , 'ppom...@ug.edu.gh');
Set($DashboardAddress, 'ppom...@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.




-- 
Pamela Pomary
ICT Assistant (Network Administration)
ICT Directorate
University of Ghana
Tel:+233 244 994 020




-- 
Pamela Pomary
ICT Assistant (Network Administration)
ICT Directorate
University of Ghana
Tel:+233 244 994 020
g-mail:ppom...@gmail.com
yahoo-mail: mawua2...@yahoo.com
skype:ppomary











___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RT 3.8.6 web page wont display after configuration on FreeBSD 8.0

2010-05-10 Thread Joseph Olatt
On Mon, May 10, 2010 at 09:14:13AM -, 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 , 1000);
 Set($TruncateLongAttachments , undef);
 Set($DropLongAttachments , undef);
 Set($ParseNewMessageForTicketCcs , undef);
 Set($RTAddressRegexp , '^moni...@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 , 'ppom...@ug.edu.gh');
 Set($CommentAddress , 'ppom...@ug.edu.gh');
 Set($DashboardAddress, 'ppom...@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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org