# Starting a small local web server with HTTP.jl?

**URL:** https://discourse.julialang.org/t/starting-a-small-local-web-server-with-http-jl/11668
**Category:** General Usage
**Tags:** question, web
**Created:** [June 14, 2018, 3:39am UTC](https://discourse.julialang.org/t/starting-a-small-local-web-server-with-http-jl/11668 "2018-06-14T03:39:12Z")
**Posts on this page:** 1
**Showing post:** 16

<div class="post-metadata">

### Author: ![yoh-meyers](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yoh-meyers/32/14700_2.png) [@yoh-meyers](https://discourse.julialang.org/u/yoh-meyers)
#### Post date: [May 8, 2020, 5:20pm UTC](https://discourse.julialang.org/t/starting-a-small-local-web-server-with-http-jl/11668/16 "2020-05-08T17:20:25Z")

</div>

My new lightweight web framework [Dance.jl](https://github.com/DanceJL/Dance.jl) supports this easily:

```julia
using Dance.Router

static_dir("/static", "files")

```

where first param is route prefix of how to serve (can be `/` too) and second param is name of the static files folder in web project dir to serve content from.

You would have to copy the static files dir to root of newly created web project dir, as for security `dance.jl` does not allow going higher than the project root.

---

_[View the full topic](https://discourse.julialang.org/t/starting-a-small-local-web-server-with-http-jl/11668)._
