Removing dirname() from 404 function

Although the use of dirname() is preferred on Windows (I gather), it
leads to unreliable results on Linux. e.g.,
`/var/www/statedecoded.com/htdocs/` can be truncated to
`/var/www/statedecoded.com/`, as that is the containing directory. Best
to leave that out for now.