Article 3SQ5Q httpd(8) Gains Simple Request Rewrites

httpd(8) Gains Simple Request Rewrites

by
from OpenBSD Journal on (#3SQ5Q)

Reyk Floeter (reyk@) hascommittedsupport for simple request rewrites tohttpd(8)/httpd.conf(5) [in -current]:

CVSROOT: /cvsModule name: srcChanges by: r...@cvs.openbsd.org 2018/06/20 10:43:05Modified files: usr.sbin/httpd : config.c httpd.conf.5 httpd.h parse.y server_http.c Log message:Add support for simple one-off internal rewrites.For example:location match "/page/(%d+)/.*" {request rewrite "/static/index.php?id=%1&$QUERY_STRING"}Requested by many.Ok benno@
External Content
Source RSS or Atom Feed
Feed Location http://undeadly.org/cgi?action=rss
Feed Title OpenBSD Journal
Feed Link http://undeadly.org/
Reply 0 comments