I'm using Custom error pages:
[httpd.conf]
ErrorDocument 404 /error_404.php
Now everything works fine until the url is something like www.blah.com/blah/index Since I don't have a blah directory, that is an error. However, the relative paths in templates for error_404.php use blah/ So links and images are point to /blah/. I really do not want to use absolute paths.