standalone_httpd - Man Page

RT standalone server

Synopsis

    # runs prefork server listening on port 8080, requires Starlet
    rt-server --port 8080

    # runs prefork server listening on port 8080 at /rt
    rt-server --port 8080 --webpath /rt

    # runs server listening on port 8080
    rt-server --server Standalone --port 8080
    # or
    standalone_httpd --port 8080

    # runs other PSGI server on port 8080
    rt-server --server Starman --port 8080

Description

The rt-server utility uses Plack so you can pass through additional options described in the plackup <https://metacpan.org/pod/distribution/Plack/script/plackup> documentation. For example, if you want to see server logs when developing, you can start the server like:

    sbin/rt-server --env development --access-log var/access.log

Log output will then go to var/access.log.

Info

2024-07-19 perl v5.40.0 User Contributed Perl Documentation