Dhawal Doshy wrote: >[EMAIL PROTECTED] wrote: > > >>Lucien GENTIS wrote: >> >> >>>If you want to display horde login page directly with URL >>>http://webmail.mydomain.com/ >>> >>>you can put a file called say some-index.php in your DocumentRoot >>>containing: >>> >>><?php >>>header("Location: http://webmail.mydomain.com/horde/"); >>>exit(); >>>?> >>> >>>(where you replace horde by your horde installation directory) >>> >>>and add in your VirtualHost DirectoryIndex at first position some-index.php. >>> >>>So, when you enter http://webmail.mydomain.com, some-index.php >>>is found in DirectoryIndex of your VirtualHost and redirects to >>>http://webmail.mydomain.com/horde/ where index.php is found >>>and display login page. >>> >>>Lucien >>> >>> >>> >>Hello, >> >>Do you means : >> >>For our config of /horde/config/registry : >> >>$this->applications['imp'] = array( >>'fileroot' => dirname(__FILE__) . '/../imp', >>'webroot' => $this->applications['horde']['webroot'] . '/imp', >>'name' => _("Mail"), >>'status' => 'active', >>'provides' => 'mail', >>); >> >>For our config of web server : >> >><VirtualHost *:80> >> >>DocumentRoot /home/itawm/html >> >>ServerAdmin ... >>ServerName ... >>ErrorLog ... >>CustomLog ... >></VirtualHost> >> >><Directory "/home/itawm/html"> >>Options FollowSymLinks >>AllowOverride None >>Order deny,allow >>allow from all >></Directory> >> >>Then create /home/itawm/html/index.php : >> >><?php >>header("Location: http://webmail.mydomain.com/horde/imp/index.php"); >>exit(); >>?> >> >>So, is it right ? >> >>Edward. >> >> > >No.. if you are using this header rewrite trick then do not change any >webroot related settings.. > > > Hello,
So, how to config the header is correct ? Edward. -- IMP mailing list - Join the hunt: http://horde.org/bounties/#imp Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [EMAIL PROTECTED]
