fix http server extendtion for files in public