view mod_http_libjs/README.markdown @ 4921:bdac7c717c91

mod_rest: Support parameters in callback URL E.g. rest_callback_url = "http://myapi.example:5000/api/{kind}/{type}" which results in e.g. requests to /api/message/chat Allows using path routing in web frameworks for dispatch instead of having to pick apart the payload to further dispatch it.
author Kim Alvefur <zash@zash.se>
date Sat, 09 Apr 2022 00:41:18 +0200
parents 88a469b285f5
children
line wrap: on
line source

---
labels:
- 'Stage-Stable'
summary: 'Serve common Javascript libraries'
...

Introduction
============

This module serves common static CSS and Javascript libraries from the
filesystem, allowing other HTTP modules to easily reference them.

The default configuration works out of the box with Debian (and derivatives)
`libjs-*` packages, such as libjs-jquery and libjs-bootstrap.

You can override the filesystem location using the `libjs_path` configuration
option. The default is `/usr/share/javascript`.

Compatibility
=============

  ----- -------
  0.11   Works
  ----- -------