[rt-users] Apache config woes

Jim T jimmers.inbox at gmail.com
Thu Nov 3 10:23:31 EDT 2011


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 /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all

        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 ::1/128
<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
        <Location /rt>
            Order allow,deny
            Allow from all

            Options +ExecCGI
            AddHandler fcgid-script fcgi

Any help would be really appreciated.

Regards, Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20111103/6cee5d83/attachment.htm>

More information about the rt-users mailing list