By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,084 Members | 1,956 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,084 IT Pros & Developers. It's quick & easy.

Squirrelmail/PHP with Xitami

P: n/a
Hi all,

I try to set up an email web-server with an IMAP interface. For the web
interface I use Squirrelmail. PHP is installed. The web server is Xitami.
PHP runs well, but Squirrelmail doesn't. The redirection in PHP under Xitami
does not work. I followed some hints and tips, but it didn't work out for
me.
Is there anybody who has experience with this setup and may be willing to
help me out?

OS = NT4 sp6
Xitami webserver v2.4d9
PHP 4.2.3
Squirrelmail 1.4.3a

Thanks in advance,

Best regards, Fokke Nauta
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Fokke - It has been ages since I used Xitami but let me try.

If you have configured Xitami to use Squirrelmail in a Virtual Host
setting, Xitami does not re-direct very well. Xitami tries to use the
base host declaration and takes the web root relative to the base host
instead of the virtual host's (this is how it was when I used, 2.4d6 I
believe). So redirects like header("Location: ../login.php") will try
to redirect to login.php under the base server's webroot.

Have you tried your question on the Xitami list? People on that list
are very helpful and many of the users ask questions involving the
PHP/Xitami combo. If you plan to use Xitami as your main server and
have not already subscribed, I would suggest that you join that mailing
list.

Cheers,
--Kartic

Jul 17 '05 #2

P: n/a
"Kartic" <ka******************@gmail.com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
Fokke - It has been ages since I used Xitami but let me try.

If you have configured Xitami to use Squirrelmail in a Virtual Host
setting, Xitami does not re-direct very well. Xitami tries to use the
base host declaration and takes the web root relative to the base host
instead of the virtual host's (this is how it was when I used, 2.4d6 I
believe). So redirects like header("Location: ../login.php") will try
to redirect to login.php under the base server's webroot.
Aha. That's goot to know, because it was my intention to use virtual hosts
indeed, after everything was configured well. So I will not do that, knowing
this.
But right now I am not using virtual hosts.
Have you tried your question on the Xitami list? People on that list
are very helpful and many of the users ask questions involving the
PHP/Xitami combo. If you plan to use Xitami as your main server and
have not already subscribed, I would suggest that you join that mailing
list.


That is a very good idea. I was not aware of a Xitami list, but I have
registered now. I will post my problem there.

Thanks

With regards,

Fokke
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.