On 11/03/2011 7:23 AM, Jim T wrote:
Hello,
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".
Here's my apache config:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 <http://127.0.0.0/255.0.0.0>
::1/128
</Directory>
</VirtualHost>
<VirtualHost *:80>
### Optional apache logs for RT
# Ensure that your log rotation scripts know about these files
# ErrorLog /opt/rt4/var/log/apache2.error
#TransferLog /opt/rt4/var/log/apache2.access
# LogLevel debug
AddDefaultCharset UTF-8
Alias /rt/NoAuth/images/ /opt/rt4/share/html/NoAuth/images/
ScriptAlias /rt/ /opt/rt4/sbin/rt-server.fcgi/
DocumentRoot /var/www
Alias /rt "/opt/rt4/share/html"
I think this is the line your missing.
-Matt
<Location /rt>
Order allow,deny
Allow from all
Options +ExecCGI
AddHandler fcgid-script fcgi
</Location>
</VirtualHost>
Any help would be really appreciated.
Regards, Jim
--------
RT Training Sessions (http://bestpractical.com/services/training.html)
* Barcelona, Spain --- November 28& 29, 2011
--------
RT Training Sessions (http://bestpractical.com/services/training.html)
* Barcelona, Spain November 28 & 29, 2011