Mark Frater writes: 

> Hi All,
> I've set up sqwebmail with separate html template diretories suign the ENV
> VAR using the apache.conf virtualhost setting. This works sweet.
>  
> hostname is ofcourse controlled by either the settings in the hostname
> file in the sqwebmail home dir or by the domain name that is picked from
> the dropdown menu (which I have also implemented, which also works sweet) 
>  
> However,it occurred to me that since people are already going to a
> different URL and are being pointed at a different html template as a
> result, it should also be possible to set the hostname variable
> according URL went to WITHOUT having to pick it from a
> dropdown or type it in.
>  
> Can the hostname  be derived from the url or apache virtual host
> configuration (ie by setting an ENV Var similar to what is done for the
> html directory?

It is possible to put the hostname into a hidden field.  There are three 
screens for logging in, and each screen needs to be modified, as such. 


-- 
Sam

Reply via email to