473,769 Members | 3,102 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Squirrelmail/PHP with Xitami

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
2 2132
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("Locatio n: ../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
"Kartic" <ka************ ******@gmail.co m> wrote in message
news:11******** **************@ c13g2000cwb.goo glegroups.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("Locatio n: ../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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3970
by: Andrew Montgomery | last post by:
If anybody has experienced the following SquirrelMail error: Warning: fsockopen(): unable to connect to xx.xx.xx.xx:143 in /home/virtual/siteX/fst/var/www/squirrelmail/functions/imap_general.php on line 172 or something similar, then listen up, here's the solution. PHP 4.3.x has known bugs with file handle and socket leak issues. This is true up to PHP 4.3.3. The only solution for now is to revert to PHP 4.2.x. I'm told that this...
2
1443
by: Fox | last post by:
This is ridiculous -- it should be a straight swap out, but the best I can get is "no input file specified" and the worst is a Security Alert page... for a simple phpinfo() script. I have cgi.force_redirect = 0 ;must have -- using php as cgi doc_root = c:\specified ; correct for 4.3.1 extensions_dir c:\path2php\extensions
1
2118
by: leegold2 | last post by:
Hi, Using Win2k Wanting to learn php I have, php-4.3.6-installer.exe bw3225b4.exe (the xitami server) I installed the server first - works OK, cgi works for perl. The install php asked what server- I said xitami. The xitami admin filter page and pip.ini seem correctly
0
1437
by: letters | last post by:
Hallo Leute, ich nutze den Xitami Server um meine php schripte abzuarbeiten. Bin auch ganz zufrieden damit. Jetzt habe ich aber ein Problem. Ich muß eine Textdatei mit 1000.000 Zeilen (120MB) einlesen, bearbeiten und Teile daraus in eine DB schreiben. Dabei bekomme ich natürlich immer wieder die Meldung Maximum execution time of 30 seconds exceeded Ich hab jetzt schon alles mögliche probiert, aber ich kann den Wert dafür einfach nicht...
0
1586
by: Ghirlandaio | last post by:
I've a problem with Xitami aliases. For example, I have dreated an Alias named "pippo" for a directory "C:\Server\Pippo" e.g. pippo=C:\Server\pippo The alias work, because when I navigate "http://localhost/pippo"
3
2686
by: Bengt Richter | last post by:
I guess there's python at the bottom of php? Anyway, is someone here familiar with the message that looks like """ Please purge your trash folder regularly. You can do this by clicking on the (purge) link on the left.
9
1738
by: Don Blow, Jr. | last post by:
I am running the simple program shown below (written in c): ----------------------------------------------------------------------- #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv)
1
2288
by: | last post by:
Thanks for your help. I wish I could do that; however our IT department is ... Zelis ... About security; it's a school district, so lots of confidential data, etc, etc (their reason). Oh well, I'll look for an imap server on the network if I can, but I doubt I'll find it normally. If anyone else has any other info, I'd appreciate it. THX Much,
0
1228
by: therig | last post by:
I'm using the following code to send a welcome letter to a user after they've registered with their username/password. Everything seems to work, but when I test the registration with my squirrelmail accounts and comcast account, I don't receive the email, Gmail & some other accounts work fine. Any help would be greatly appreciated. Thanks in advance. Lee <% errorMsg=""
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10050
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3967
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.