Arc Forumnew | comments | leaders | submitlogin
Loading html files, not creating them with defop ?
2 points by thaddeus 5814 days ago | 3 comments
If I take a file like thad.html, put it in the arc directory, start the server, then in my browser -> http://localhost:8080/thad.html, should it not load ? mine does not.... do I have to generate every page using defop ? Thanks, T.


3 points by lboard 5814 days ago | link

If you are using anarki arc, then set the rootdir* to appropriate directory.

  (= rootdir* "/home/you/yourdir/")

-----

2 points by eds 5812 days ago | link

You can also configure Apache to serve static files without going through Arc, which is probably faster.

See http://arclanguage.com/item?id=3486 for an example configuration.

-----

1 point by thaddeus 5814 days ago | link

ahhhh..... thanks!

-----