Forum Moderators: phranque

Message Too Old, No Replies

error handling on htaccess

not working properly, i get 404 on my logs even if page requested is found

         

12:07 pm on Jan 23, 2004 (gmt 0)



hello,
i have an htaccess error as follows:

ErrorDocument 401 /401.php
ErrorDocument 403 /403.php
ErrorDocument 404 /404.php
ErrorDocument 500 /500.php

RewriteEngine on (etc......)

on each visit i get a 404 on my logs; i see that all pages requested are found but on each visit i get 404 on my logs even if page requested is found.
code seems to be ok, isn't it?! there might be any other reason? thanks for help.

tito

12:09 pm on Jan 23, 2004 (gmt 0)

10+ Year Member



the above post is from tito.

jdMorgan

5:45 pm on Jan 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



tito,

Your ErrorDocument directives are OK. The problem is being caused by soemthing else - probably another redirect. See what your raw server logs show as the requested URL when you get the 404, and look at your raw error logs as well.

Jim

tito

8:33 pm on Jan 24, 2004 (gmt 0)

10+ Year Member



jdMorgan,
Thanks for you help, i will do that way.