[imp] virtualhost

jessian@usp.br jessian@usp.br
Tue, 3 Sep 2002 15:20:22 -0300


Hello

in horde/config/registry.php just assign 

$this->applications['imp'] = array ( 
...
webroot = ''; 

and keep the httpd.conf as you wrote in the message

Greetings
Jessian

Citando Herve Ballans <ballans@lps.u-psud.fr>:

> Is your alias 'webmail' mentionned in your DNS database as a CNAME
> ??
> 
> 
> lito lampitoc a écrit:
> 
> >Is it possible for IMP 3.1 to be hosted on virtual host. I find long
> url
> >unfriendly for my users so I plan to use it straight from a host 
> like
> >http://webmail.abc.com instead of a long one like
> >http://www.abc.com/horde/imp or putting a link like
> >http://www.abc.com/webmail.  I've been skimming around the archive
> but
> >none of the related thread works for me, there is one very close
> >the "[imp] Apache/IMP httpd.conf help?" by Rick Compton, I tried
> his
> >example but it didn't work for me either. Here is my own
> configuration:
> >
> >---httpd.conf----
> >
> >ServerName xx.xx.xx.xx
> >
> >NameVirtualHost xx.xx.xx.xx
> ><VirtualHost xx.xx.xx.xx>
> >   DocumentRoot /usr/local/apache/htdocs/horde/imp
> >   ServerName webmail.abc.com
> >   Alias /horde/ "/usr/local/apache/htdocs/horde"
> >   Alias /imp/ "/usr/local/apache/htdocs/horde/imp"
> >   DirectoryIndex index.php
> >   .
> >   .
> > </VirtualHost>
> >
> >(I tried putting the Alias outside VirtualHost directive too for
> the
> >main server to use, but no luck)
> >
> >--registry.php---
> >
> > 'webroot' => '/imp',
> >    'icon' => '/horde/imp/graphics/imp.gif',
> >    'name' => _("Mail"),
> >    'allow_guests' => true,
> >    'show' => true
> >
> >I copied this from Rick's example but it didn't work, so I switched
> back
> >to my original configuration. The error says:
> >
> >The requested URL /imp/redirect.php was not found on this server.
> >everytime I go to webmail.abc.com
> >
> >I've been on this for 2 days now, so if anyone is kind enough to
> lend a
> >help, I would appreciate it.
> >
> >Thanks.
> >
> >
> >
> >
> >
> 
> --
> Cordialement
> 
> Hervé Ballans
> Responsable informatique
> CNRS - LPS
> 
> 
> 
> 
> --
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>