Hey,

The wthttpd is also a simple web server, serving static files from inside
it's docroot. The simplest way to serve static contents is to put it into
the docroot.
You will need to implement a main() function to instantiate the server.

>From your use-case, it sounds logical and totally sensible to host the
static pages inside the same wthttpd that also serves your dynamic content.

Koen


2015-06-29 15:41 GMT+02:00 K. Frank <[email protected]>:

> Hello List!
>
> I am new to Wt (and to web programming in general).  I have built a
> few very simple Wt applications and hosted them with wthttpd.
>
> What is the easiest (or most practical) way to use wthttpd to serve a
> single html web page?  If this can't be done reasonably, what would be
> the simplest way to wrap the html file (with minor tweaks, if necessary)
> in a Wt application and then host it with wthttpd?
>
> More generally, let's say that I would like my home page to be a plain
> html web page that has links to Wt web pages / applications.  Would
> it be practical to host such a scheme with wthttpd, and, if so, what
> would be the best way to do so?
>
> (Side question:  Could anyone recommend a basic, lightweight html
> editor?)
>
>
> Thanks.
>
>
> K. Frank
>
>
> ------------------------------------------------------------------------------
> Monitor 25 network devices or servers for free with OpManager!
> OpManager is web-based network management software that monitors
> network devices and physical & virtual servers, alerts via email & sms
> for fault. Monitor 25 devices for free with no restriction. Download now
> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to