[rt-users] Anyone installed RT on Mandrake - Help?

Graham Dunn gdunn at inscriber.com
Fri Oct 22 11:57:18 EDT 2004


Christopher Welsh wrote:
> Thanks John,
> 
> 
> But I cannot seem to get both virtual hosts in my Vhost.conf file to 
> work together. It seems to only use sjcsms.staff. when I type in 
> http://helpdesk.staff I only get the sjcsms.staff page. Any suggestions? 
> These are the same IP, named virtual hosts.
> 
> <VirtualHost sjcsms.staff>
>        ServerName helpdesk.staff
>        DocumentRoot /home/sjcsms/public_html
>        Alias /sjcsms /home/sjcsms/public_html
> </VirtualHost>
> 
> <VirtualHost helpdesk.staff>
>        ServerName helpdesk.staff
>        ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
>        DocumentRoot /usr/local/rt3/share/html
>        <Location /NoAuth/images >
>     SetHandler default-handler
>   </Location>
> </VirtualHost>

I think you want to have something like:

<VirtualHost *>
         ServerName sjcsms.staff
         DocumentRoot /home/sjcsms/public_html
         Alias /sjcsms /home/sjcsms/public_html
</VirtualHost>

<VirtualHost *>
         ServerName helpdesk.staff
         ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
         DocumentRoot /usr/local/rt3/share/html
         <Location /NoAuth/images >
      SetHandler default-handler
    </Location>
</VirtualHost>

instead.

Also make sure you have

NameVirtualHost *

defined.

Graham



More information about the rt-users mailing list