Home » Community » Newbie corner » [SOLVED] 404 not found on Skylark tutorial
[SOLVED] 404 not found on Skylark tutorial [message #53498] |
Mon, 06 April 2020 13:56  |
 |
Xemuth
Messages: 387 Registered: August 2018 Location: France
|
Senior Member |
|
|
Hello community,
I have made few test over some skylark tutorial and it appear they are not working in latest Upp version (14205).
See by example Skylark01 (Assembly tutorial) it should return me hello world on the default root (localhost:8001) but it only return Page not found.
Can someone help me ?
Thanks in advance.
[Updated on: Mon, 06 April 2020 15:47] Report message to a moderator
|
|
|
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: Tue May 13 20:22:20 CEST 2025
Total time taken to generate the page: 0.03111 seconds
|