joined:Apr 29, 2003
I would like to set up multiple .htaccess 404 ErrorDocuments based on language for a site that uses mod_rewrite.
Foreign language pages are requested as www.example.com/de/page.htm which is rewritten to www.example.com/index.php?lang=de&page=page
I tried putting an .htaccess in an empty de directory with a German ErrorDocument but that was just ignored.
I also tried, after some research the <location> directive with both the requested and rewritten urls but both caused an internal server error - and I'm not even sure if that belongs in .htaccess.
I'm no .htaccess expert and I am stumped. Is there any way I can acheive what I want?