I believe RT installs itself in /opt/rt4/ ?<div><br></div><div>This is houw my Apache config looks atm:</div><div><br></div><div><div><font class="Apple-style-span" face="'courier new', monospace"><VirtualHost *:80></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> ErrorLog /opt/rt4/var/log/apache2.error</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> TransferLog /opt/rt4/var/log/apache2.access</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre"> </span>RewriteEngine On</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre"> </span>RewriteCond %{HTTPS} off</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre"> </span>RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"></VirtualHost></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br>
</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><VirtualHost *:443></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre"> </span>ErrorLog /opt/rt4/var/log/apache2.error</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre"> </span>TransferLog /opt/rt4/var/log/apache2.access</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre"> </span># LogLevel debug</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre"> </span>AddDefaultCharset UTF-8</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre"> </span>DocumentRoot "/opt/rt4/share/html"</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre"> </span><Location /></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre"> </span>Order allow,deny</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre"> </span>Allow from all</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br>
</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre"> </span>SetHandler perl-script</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre"> </span>PerlResponseHandler Plack::Handler::Apache2</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre"> </span>PerlSetVar psgi_app /opt/rt4/sbin/rt-server</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre"> </span></Location></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre"> </span><Perl></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre"> </span>use Plack::Handler::Apache2;</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre"> </span>Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre"> </span></Perl></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br>
</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre"> </span>SSLEngine on</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre"> </span>SSLCertificateFile /etc/ssl/certs/***.pem</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"></VirtualHost></font></div></div><div><br></div><div><br></div><div>We're hosting it via SSL, the port 80 part makes sure everything is redirected to 443 (while keeping the URL in tact).</div>
<div><br></div><div><br clear="all">-- Bart<br>
<br><br><div class="gmail_quote">2011/11/3 Jim T <span dir="ltr"><<a href="mailto:jimmers.inbox@gmail.com">jimmers.inbox@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<br><br>I am trying to serve rt from "/rt". I have read the web_deployment.pod and I thought I'd configured apache correctly but I still cant get rt to start. The apache error log says "File does not exist: /var/www/rt".<br>
<br>Here's my apache config:<br><br><VirtualHost *:80><br> ServerAdmin webmaster@localhost<br><br> DocumentRoot /var/www<br> <Directory /><br> Options FollowSymLinks<br>
AllowOverride None<br> </Directory><br> <Directory /var/www/><br> Options Indexes FollowSymLinks MultiViews<br> AllowOverride None<br> Order allow,deny<br>
allow from all<br> </Directory><br><br> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/<br> <Directory "/usr/lib/cgi-bin"><br> AllowOverride None<br> Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch<br>
Order allow,deny<br> Allow from all<br> </Directory><br><br> ErrorLog ${APACHE_LOG_DIR}/error.log<br><br> # Possible values include: debug, info, notice, warn, error, crit,<br>
# alert, emerg.<br> LogLevel warn<br><br> CustomLog ${APACHE_LOG_DIR}/access.log combined<br><br> Alias /doc/ "/usr/share/doc/"<br> <Directory "/usr/share/doc/"><br> Options Indexes MultiViews FollowSymLinks<br>
AllowOverride None<br> Order deny,allow<br> Deny from all<br> Allow from <a href="http://127.0.0.0/255.0.0.0" target="_blank">127.0.0.0/255.0.0.0</a> ::1/128<br> </Directory><br> </VirtualHost><br>
<VirtualHost *:80><br> ### Optional apache logs for RT<br> # Ensure that your log rotation scripts know about these files<br> # ErrorLog /opt/rt4/var/log/apache2.error<br> #TransferLog /opt/rt4/var/log/apache2.access<br>
# LogLevel debug<br><br> AddDefaultCharset UTF-8<br><br> Alias /rt/NoAuth/images/ /opt/rt4/share/html/NoAuth/images/<br> ScriptAlias /rt/ /opt/rt4/sbin/rt-server.fcgi/<br><br> DocumentRoot /var/www<br>
<Location /rt><br> Order allow,deny<br> Allow from all<br><br> Options +ExecCGI<br> AddHandler fcgid-script fcgi<br> </Location><br> </VirtualHost><br>
<br><br><br>Any help would be really appreciated.<br><br>Regards, Jim<br>
<br>--------<br>
RT Training Sessions (<a href="http://bestpractical.com/services/training.html" target="_blank">http://bestpractical.com/services/training.html</a>)<br>
* Barcelona, Spain — November 28 & 29, 2011<br></blockquote></div><br></div>