|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12142 mail problem with apache aliases on win2000 and Linux (tested on both)
Submitted: 2001-07-13 10:37 UTC Modified: 2002-07-05 01:00 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: php at presedo dot com Assigned:
Status: No Feedback Package: Mail related
PHP Version: 4.0.6 OS: linux and windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: php at presedo dot com
New email:
PHP Version: OS:


 [2001-07-13 10:37 UTC] php at presedo dot com

Here is the problem

Make a file called pipo.php. Type this lines in it :

if ($toto = mail("", "That's a subject", "That's the body"))
{echo "OK";}else{echo "Not OK";}

Then, I define some aliases on Apache config, so that all the request that are done on a directory are redirected on a script  .. Like that

DocumentRoot "d:/networks/site/"
Alias /static/ d:/networks/site/pipo.php/

Now, if you call this url ( the request will be send to the pipo.php file...If you do that, you can see "OK" on the browser... 

And if you call directly the script (, you do have the same message (OK)...


When you receive the mail, with the first methode (alias) you receive 9 times the same mail !!!! And with the second method, the mail is recieved only one time... 

Do you think this is a bug, or maybe a misconfiguration .


Geneva, CH


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-02 13:45 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

Is this still valid?
 [2002-07-05 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 28 07:01:29 2024 UTC