Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
workbee_cnc_router [09.08.2020 23:19] – [G-Code Sender] Pascal Suter | workbee_cnc_router [09.08.2020 23:32] – Pascal Suter | ||
---|---|---|---|
Line 109: | Line 109: | ||
i'm lazy, so i don't want to type that port 8000 all the time, let's add a redirect using '' | i'm lazy, so i don't want to type that port 8000 all the time, let's add a redirect using '' | ||
+ | < | ||
+ | sudo apt install lighttpd | ||
+ | cd / | ||
+ | sudo nano conf-available/ | ||
+ | </ | ||
+ | put this in there: | ||
+ | < | ||
+ | $HTTP[" | ||
+ | # capture vhost name with regex conditiona -> %0 in redirect pattern | ||
+ | # must be the most inner block to the redirect rule | ||
+ | $HTTP[" | ||
+ | url.redirect = (" | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | activate the config and restart the service | ||
+ | cd conf-enabled | ||
+ | sudo ln -s ../ | ||
+ | sudo systemctl restart lighttpd.service | ||
+ | now you should be able to simply access the cncjs gui by entering the hostname of your raspberry in your browser | ||