[rt-users] Centos 7 - Forbidden, You don't have permission to access /rt4 on this server

Yanni y.goudetsidis at mail.cryst.bbk.ac.uk
Thu Apr 21 06:28:44 EDT 2016


Hello

I'm struggling a lot to understand how to configure Apache for RT.
I have gone through the documentation in the "Web deployment" section 
but I don't understand
what am I supposed to do. Under the apache section it talks about 
"mod_fastcgi" and "mod_fcgid".

Do I have these modules? What I add to "httpd.conf" depends on which one 
of these modules I have or use?
I also borrowed the RT essentials book from our library but the book is 
a bit out-of date and talks about RT3. There are a number of how-to's 
online available but all a bit different to each other. I presume that 
is because they are written by people who know what they are doing so 
they config things they way, they believe is right.

Whenever I try to view RT I get this error: Forbidden, You don't have 
permission to access /rt4 on this server. In a desperate attempt to 
solve this permissions issue I did: "chown apache:apache -R /opt/rt4" 
but with no luck.

I'm stuck at the moment because I don't know how to use Apache, so I am 
asking for your help, please.
Below are my current configurations. When you can, please let me know 
what I should do/correct.

--------------------------------------
Apache/2.4.6 (CentOS 7)
---------------------------------------

RT_SiteConfig.pm looks like this:

Set( $rtname, 'AD');
Set( $Organization, 'www.jimmy.ad.biosci.ac.uk');
Set( $Timezone, 'GB');
#
Set( $WebDomain, 'jimmy.ad.biosci.ac.uk');
Set( $WebBaseURL, 'http://jimmy.ad.biosci.ac.uk');
Set( $WebPath, '/rt4');
Set( $WebPort, 443);
#
Set( $CorrespondAddress, 'bio at mail.biosci.ac.uk');
Set( $CommentAddress, 'comment at mail.biosci.ac.uk');
Set( $SendMailPath, '/usr/lib/sendmail');
#
Set( $DatabaseType, 'mysql');
Set( $DatabaseUser, 'rtuser');
Set( $DatabasePassword, 'mypassword');
Set( $DatabaseName, 'rt4db');
#
Set( $LogtoSyslog, '');
Set ($LogToFile, 'debug');
------------------------------------------------------------------------

HTTPD.CONF:

   <VirtualHost *:443>
      ServerName jimmy.ad.biosci.ac.uk:443
      Redirect / https://jimmy.ad.biosci.ac.uk/rt4
     </VirtualHost>
-------------------------------------------------------------

SSL.CONF:

#</VirtualHost>


     # Request Tracker
     # ServerName rt.corp.example.com:443
       ServerName jimmy.ad.biosci.ac.uk:443

       AddDefaultCharset UTF-8
       DocumentRoot /opt/rt4/share/html
       Alias /NoAuth/images/ /opt/rt4/share/html/NoAuth/images/
       ScriptAlias / /opt/rt4/sbin/rt-server.fcgi/
       <Location />
       Order allow,deny
       Allow from all
       </Location>
       <Directory "/opt/rt4/sbin">
       SSLOptions +StdEnvVars
       </Directory>
       </VirtualHost>
------------------------------------------------



















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


More information about the rt-users mailing list