You don't even need to do that.  HTTP_HOST and a bunch of other variables
are automatically set by Apache.  If there's information on a host-by-host
basis that apache doesn't provide, then yes, doing it in the httpd.conf
would be ideal.

--
  Troy Settle
  Pulaski Networks
  540.994.4254

It's always a long day, 86400 doesn't fit into a short



> -----Original Message-----
> From: Daniel Augusto Fernandes [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 18, 2000 1:05 PM
> To: Ken Jones
> Cc: qmailadmin list
> Subject: Re: domain showing up at login
>
>
> Ken Jones wrote:
> >
> > Troy Settle wrote:
> > >
> > > Yep.  Your httpd should be setting an environment variable HTTP_HOST,
> > > which can be used for this purpose.
> >
> > Interesting idea. So you are saying, in the <VirtualHost blah blah>
> > you put in the HTTP_HOST variable. What is the syntax for setting
> > that in the httpd.conf file?
> >
> > .
> > .
> > .
>
> As in an sqwebmail example:
> INSTALL.html:
> > For example, with Apache:
> > <VirtualHost a.b.c.d>
> >  ServerName webmail.example.com
> >  [...]
> >  SetEnv SQWEBMAIL_TEMPLATEDIR /usr[...]
>  SetEnf HTTP_HOST example.com
> >  [...]
> > </VirtualHost>
>
> --------------------------------------------------------------------
> Daniel Augusto Fernandes (DAF tm)               [EMAIL PROTECTED]
> GCSNet                                    http://www.gcsnet.com.br/
> --------------------------------------------------------------------
>                      Se você não encontra
>                      o sentido das coisas
>                      é porque este não
>                      se encontra, se cria.
>                                    Antoine Saint-Exupéry
>
>

Reply via email to