From:             [EMAIL PROTECTED]
Operating system: linux and windows
PHP version:      4.0.6
PHP Bug Type:     Mail related
Bug description:  mail problem with apache aliases on win2000 and Linux (tested on 
both)

Hello,

Here is the problem

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

<?
if ($toto = mail("[EMAIL PROTECTED]", "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


<VirtualHost 127.0.0.1>
ServerAdmin [EMAIL PROTECTED]
ServerName xxx.xxx.com
DocumentRoot "d:/networks/site/"
Alias /static/ d:/networks/site/pipo.php/
</VirtualHost>

Now, if you call this url (http://xxx.xxx.com/static/) 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 (http://xxx.xxx.com/pipo.php), you do
have the same message (OK)...

BUT

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 .

Thanks

Bob
Geneva, CH
-- 
Edit bug report at: http://bugs.php.net/?id=12142&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to