httpd: get srcdir from argument instead of shell variables