[rt-users] Apache config woes

20/20 Lab lab at pacbell.net
Thu Nov 3 11:38:40 EDT 2011


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 at 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

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


More information about the rt-users mailing list