470,833 Members | 1,382 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,833 developers. It's quick & easy.

.htacess ErrorDocument 404 and php

Hi,

I have the strangest error with my .htaccess.

I have something like
ErrorDocument 404 /error/error.php?err=404

But that does not work for php file?

If I look for www.example/test.html, (<= test.html does not exist), then the
error.php file gets loaded, but if I look for www.example/test.php, (also
does not exist) then the standard 404 page gets loaded.

Any reason why that would happen?

Sims
Jul 17 '05 #1
0 1624

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Giobibo | last post: by
7 posts views Thread by Günther Steinmetz | last post: by
1 post views Thread by treelife | last post: by
reply views Thread by botho.willer | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.