Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55931

Support custom router scripts in builtin-webserver

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor

      The PHP built-in webserver has an option to have a custom router script. This is commonly used to mimick nginx/apache routing scripts that reroute all non-existent routes to a router script. It can be used as follows:

      php -S localhost:8000 router.php

      Further examples can be seen in the documentation It would be nice to have this as an optional parameter to the php-builtin-web-server-plugin.

            fengtan Feng Tan
            bertptrs Bert Peters
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: