The wiki mentions that you could include a JS rewrite command in the per-directory webctrl.ini file:
REWRITE
Specifies a Javascript snippet which can modify the http_request.request_string. This allows internal redirects like the RewriteRule feature in Apache .htaccess files. The key must *begin* with the string “Rewrite” which may be followed by any legal INI key characters. The order of execution is not guaranteed.
Does anyone have an example of this?
Specifies a Javascript snippet which can modify the http_request.request_string. This allows internal redirects like the RewriteRule feature in Apache .htaccess files. The key must *begin* with the string “Rewrite” which may be followed by any legal INI key characters. The order of execution is not guaranteed.
Does anyone have an example of this?
| Sysop: | Ragnarok |
|---|---|
| Location: | Dock Sud, Bs As, Argentina |
| Users: | 137 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 110:19:24 |
| Calls: | 15,362 |
| Files: | 20,059 |
| D/L today: |
25 files (7,256K bytes) |
| Messages: | 1,798,479 |