How to use TinyWeb Server on Windows?

0

One of the best features of the TinyWeb server is that the webmaster can launch multiple tiny web browsers at any given time. All these features make it a very handy tool under Windows for those who feel limited when working with their usual servers.

What is a TinyWeb server?

The server requirements of a webmaster working on a website may vary from time to time. If they are limited by small size, minimal memory, low speed and costs, then TinyWeb offers an attractive solution. TinyWeb is a lightweight server for Windows that works fast and is very accurate. Not only is it an extremely small server, but it also works without installation. It can be easily run on Windows operating system by accessing it through a command.

Characteristics:

  • It does not require installation.
  • Ultra-compact (only 59kb in size).
  • Consumes less than 3 MB of memory.
  • Very quick .
  • To free .

You can download Tinyweb.

How to make TinyWeb work?

How to stop TinyWeb?

  • Open the Task Manager (CTRL+Alt+Delete) and end the process tiny.exe
  • Or, using the command line:
    taskkill /F /IM tiny.exe

How to use Tinyweb for CGI?

You can use TinyWeb to Computer graphics:

  • Create a file:
    c:wwwcgi-bintest.bat
  • Add the following code:
@echo off     
echo Content-type: text/plain     
echo.     
echo.     
echo Hi !     
echo Your IP ADDRESS is %REMOTE_ADDR% and your BROWSER is %HTTP_USER_AGENT%
  • Go to:http://localhost/cgi-bin/test.bat

You can launch multiple Tiny web servers simultaneously.

To note: there is also an SSL version, which is also free – TinySSL. You can download it here.

How to send binary files in CGI?

Unlike Unix/Linux, the Windows console does not use binary data by default. If your CGI needs to send binary files, you will need to manually force it into binary mode. For example in Python:

import sys     
if sys.platform == "win32":     
    import os, msvcrt     
    msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY)

Want to know more about the different servers? Check out our forum!

  • Disable Windows Server 2016 Shadow Copies

  • Copy files from one server to another windows batch script
    [solved] > Forum – Windows

  • Unable to run executable (.exe) files on Windows

  • Fix PC That Turns On But No Display > Guide

  • Fix Windows Security Bug: Print Nightmare > Guide

  • Shazam on desktop: how to use it

  • How to celebrate Christmas online: virtually, with the kids

  • Install a VPN: on router, Firestick, Samsung Smart TV

  • Download videos for free: from Instagram, Twitter, Linkedin

  • Badoo lost password: how to recover it

  • Badoo registration: download, code, in English

  • How to declutter your digital life?

  • Enable cookies: Safari, Chrome, Internet Explorer, iPhone

  • How to unsubscribe from Badoo: Premium, email, error

  • Change the font: on Instagram, Facebook post, Twitter

  • The best digital Christmas gifts: for customers, for students

  • Tokyo Olympics: watch online, live, for free

  • Sustainable Gifts for Christmas: Apps and Websites

  • Winter Olympics 2022: schedule, sports, where to watch

  • How to unsubscribe or delete your Tuenti account

  • How to redirect in PHP?

  • Adjust webpage to fit all screen resolutions

  • Brief History of Cryptocurrency: Timeline

  • How to Start Trading Stocks Online: For Beginners

  • Everything you need to know about cryptocurrency

Share.

Comments are closed.