javaConductor / gserv

GServ: Framework for SPAs and REST based services.
MIT License
49 stars 9 forks source link

Cannot display static context on Linux #27

Closed restagner closed 9 years ago

restagner commented 9 years ago

I'm using gserv on Linux and when I run the following command

gserv -s /home/restagner/public -p 64000

and then navigate to the following url in my browser

http://localhost:64000/public/index.html

I see

No such resource: /public/index.html

What am I doing wrong?

javaConductor commented 9 years ago

"-s /home/restagner/public" says that resources are relative to THIS folder. You can refer to the html file as just "/index.html" because /home/restagner/public directly contains the file.

Lee

restagner commented 9 years ago

@javaConductor

Thanks. That was it!!