<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 11/03/2011 7:23 AM, Jim T wrote:
<blockquote
cite="mid:CAM1y2Ss-z0TF4DfybiEFjBFjfXLy4zyYEp4V+VtvagdvQPNFpg@mail.gmail.com"
type="cite">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 moz-do-not-send="true"
href="http://127.0.0.0/255.0.0.0">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>
</blockquote>
Alias /rt "/opt/rt4/share/html"<br>
<br>
I think this is the line your missing.<br>
<br>
-Matt<br>
<br>
<blockquote
cite="mid:CAM1y2Ss-z0TF4DfybiEFjBFjfXLy4zyYEp4V+VtvagdvQPNFpg@mail.gmail.com"
type="cite">
<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>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--------
RT Training Sessions (<a class="moz-txt-link-freetext" href="http://bestpractical.com/services/training.html">http://bestpractical.com/services/training.html</a>)
* Barcelona, Spain — November 28 & 29, 2011</pre>
</blockquote>
<br>
</body>
</html>