Home » Community » Newbie corner » [SOLVED] 404 not found on Skylark tutorial
Re: 404 not found on Skylark tutorial [message #53502 is a reply to message #53498] |
Mon, 06 April 2020 15:47 |
|
Xemuth
Messages: 387 Registered: August 2018 Location: France
|
Senior Member |
|
|
Ok after, looking at code, it work, the root to use is localhost:#PORT/#NameOfSKYLARKAPP/#HANDLER
the Name of Skylark app is defined in variable named root in SkylarkApp object :
struct SiteWebUOGL : SkylarkApp {
SiteWebUOGL() {
root = ""; //Default root (localhost:80)
//root = "MyCustomApp"; //root = (localhost:80/MyCustomApp)
port = 80;
#ifdef _DEBUG
prefork = 0;
use_caching = false;
#endif
}
};
[Updated on: Mon, 06 April 2020 15:50] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Wed May 08 01:50:51 CEST 2024
Total time taken to generate the page: 0.02529 seconds
|