unofficialalai / Swifty-Webserver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swifty

Swifty is a minimalist webserver that supports just enough functionality to be useful. That also gives it the property of being tiny.

Build and Run

  1. Create a config file at /etc/swifty.conf. An example config file is:

    AccessLogFile /Users/alai/Sites/swifty/log/access.log
    ErrorLogFile /Users/alai/Sites/swifty/log/error.log
    BasePath /Users/alai/Sites/swifty/document_root
    RunAsUserName alai
    

    Argye will look for files in BasePath. Do not include a trailing slash.

    If you'd like to change the location of the config file, the path is defined at the top of main.cpp.

  2. Build with make. Run sudo ./swifty. Hope it works.

License

Argyle is released under the MIT license.

About


Languages

Language:C++ 99.4%Language:Makefile 0.6%