| Index | Alphabetical Index |
Option Name: | url_rewrite_program |
---|---|
Replaces: | redirect_program |
Requires: | |
Default Value: | none |
Suggested Config: |
|
Specify the location of the executable URL rewriter to use. Since they can perform almost any function there isn't one included. For each requested URL, the rewriter will receive on line with the format URL <SP> client_ip "/" fqdn <SP> user <SP> method [<SP> kvpairs]<NL> In the future, the rewriter interface will be extended with key=value pairs ("kvpairs" shown above). Rewriter programs should be prepared to receive and possibly ignore additional whitespace-separated tokens on each input line. And the rewriter may return a rewritten URL. The other components of the request line does not need to be returned (ignored if they are). The rewriter can also indicate that a client-side redirect should be performed to the new URL. This is done by prefixing the returned URL with "301:" (moved permanently) or 302: (moved temporarily), etc. By default, a URL rewriter is not used. |
|
| Index | Alphabetical Index |