suppose i have a file missing at
http://www.mydomain.com/user/10202.html i.e user.php
then the server gives me 404 page default error….
than i add the following to my .htaccess file
ErrorDocument 404 /404.html
but it redirects me to http://www.mydomain.com/404.html while i want to stay on
http://mydomain.com/user/10202.html and show the 404.html how can i do that…
You can use RewriteCond ant RewriteRule from mod_rewrite.