==========
> PHP_SELF is /src/redirect.php


   [REDIRECT_STATUS] => 200
   [REDIRECT_UNIQUE_ID] => QsREDtTjba0AABryNm4
   [REDIRECT_URL] => /src/redirect.php
   [REMOTE_ADDR] => 172.24.55.162
   [REMOTE_PORT] => 61431
   [SCRIPT_FILENAME] =>

/kunden/homepages/xx/dyyy/htdocs/webmail/src/redirect.php

   [SCRIPT_URI] =>
http://webmail.abc.co.uk/src/redirect.php
   [SCRIPT_URL] => /src/redirect.php
   [SERVER_ADDR] => 202.237.86.43
   [SERVER_ADMIN] => [EMAIL PROTECTED]
   [SERVER_NAME] => webmail.abc.co.uk
   [SERVER_PORT] => 80
[SERVER_SIGNATURE] => [SERVER_SOFTWARE] => Apache/1.3.29 (Unix)
   [UNIQUE_ID] => QsREDtTjba0AABryNm4
   [GATEWAY_INTERFACE] => CGI/1.1
   [SERVER_PROTOCOL] => HTTP/1.1
   [REQUEST_METHOD] => POST
[QUERY_STRING] => [REQUEST_URI] => /src/redirect.php
   [SCRIPT_NAME] => /src/redirect.php
   [PATH_INFO] => /src/redirect.php
   [PATH_TRANSLATED] =>

/kunden/homepages/xx/dyyy/htdocs/webmail/src/redirect.php

   [STATUS] => 200
   [REDIRECT_SCRIPT_URI] =>
http://webmail.abc.co.uk/src/redirect.php

Is this URI correct?  If not, it seems like you have
Apache doing some rewriting for you. I don't know how else you would access a URI like this and actually get the real file at

http://webmail.abc.co.uk/squirrelmail/src/redirect.php

Paul,

the actual domain is abc.co.uk and subdomain is
webmail.abc.co.uk mapped to directory
abc.co.uk/squirrelmail. "webmail" is a symbolic link
pointed to /squirrelmail. Do you think this is what is
messing things up, though I fail to see why.

Well, it's either mapped in Apache config or it's a symbolic link, not both (or shouldn't be). Or maybe that's what the problem is. Show Apache config for this and the symbolic link (and what dir it is in).

Also, it might be more helpful to show $_SERVER contents after src/redirect.php has already sent you to webmail.php (or any time after that, like when reading a mail), since given the above URI, there doesn't seem to be anything wrong.




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [email protected]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to