You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Trevor Lai <ti...@cs.bu.edu> on 2005/05/27 17:35:40 UTC

[users@httpd] Apache.conf: directoryindex causes index.php to get called twice

I have seen this on both Apach 1.3 and 2.0.5

I have an index.php script that is being run twice on each page request.
(I know this because on each page request it is writing twice to my mysql
database)
I have determined that the "index.php" for the "directoryindex" in
httpd.conf causes this.
If "index.php" is removed then the double execution behavior goes away.

I could not find a bug report on this, does anyone know of this issue?
I'd really like "index.php" to serve as a directoryindex, so what can I do
in the meantime as a workaround?

Thanks!



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org