[imp] IMP under virtual hosts
Rudy Setiawan
hordeimp@ccom.net
Mon, 11 Feb 2002 12:39:08 -0800
Daniel,
Or you can create your own redirect hehe so do not touch the apache config..
just create and index.cgi ... i am doing like this:
#include <stdio.h>
int main(void) {
printf("Status: 302 Transferred to...\n");
printf("Location: http://www.domain.com/horde/imp\n");
printf("Content-type: text/html\n\n");
}
the compile it "gcc -o index.cgi index.c"
so everytime people try to access https://webmail.domain.com it will actually
be directed to horde/imp heheh so you wont get any redirect.php error.
Rudy
Quoting Daniel Persson <daniel@teraport.se>:
> Citerar Brett Jones <brett@5foot2.com>:
>
> > This is done with the apache conf files not IMP/Horde.
> >
> > DocumentRoot "/var/www/html/horde/imp"
> > Alias /horde/ /var/www/html/horde
> >
> > This is only part of the needed changes, but it's really easy. This is
> > all covered in the IMP docs or FAQ (not sure which), so please go read
> > the IMP and apache docs.
> >
> > I so wanted to just fill the page with RTFM, but I'm a much nicer guy
> > after I get some.
>
> Well, my friend, for your information:
>
> If you had read my previos mail you would have seen that i indeed have
> RTFM.
>
> The FAQ seems to cover and old version of IMP and not 3.0 (it asks you to do
> the
> above and also edit the horde_root_url in the horde.php3 file wich isnt
> used
> anymore).
>
> My PHP skills are surely lacking, and i dont have the time to learn now.
>
> After changing the Documentroot and alias, all i get is:
>
> The requested URL /horde/imp/redirect.php was not found on this server.
>
> Wich means that i have to change the documentroot somewhere in hordes or
> imp's
> files to.Before IMP 3.0 this used to be the horde.php3 file, but now there
> doesnt seem to be any horde_root_url variable in use anywhere.
>
> So, no need to be cranky,
> I tried myself first and then asked for wisdom here ;)
>
> I started to edit the webroot variable in /horde/conf/registry.php but that
> didnt help (or i did it wrong).
>
> If i have missed any docs or pointers please juts point me there and i will
> fix
> it myself.
>
> /Daniel
>
>
>
>
> --
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>
>