Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to next message
Xemuth is currently offline  Xemuth
Messages: 310
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 Go to previous messageGo to next message
Xemuth is currently offline  Xemuth
Messages: 310
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

Re: [SOLVED] 404 not found on Skylark tutorial [message #53705 is a reply to message #53498] Wed, 22 April 2020 18:57 Go to previous message
deep is currently offline  deep
Messages: 227
Registered: July 2011
Location: Bangalore
Experienced Member
Hi

It is not working as expected.

But it works as

http://localhost:8001/myapp

In fact all examples are working like this.


Warm Regards

Deepak
Previous Topic: SelectFileOpen and VPN
Next Topic: nightly builds broken?
Goto Forum:
  


Current Time: Fri Jan 22 16:57:20 CET 2021

Total time taken to generate the page: 0.02071 seconds