Re: [users@httpd] RewriteMap prg: How to pass value from Python3 script back to Apache24?

2018-11-13 Thread Benedikt Kroll
using this script: while True: arg = sys.stdin.readline() # makes sense, but will work without newValue = "/index.html" # placeholder for testing sys.stdout.write(newValue + "\n") sys.stdout.flush() Am 10.11.18 um 20:33 schrieb Benedikt Kroll: Hi, usin

[users@httpd] RewriteMap prg: How to pass value from Python3 script back to Apache24?

2018-11-10 Thread Benedikt Kroll
Hi, using Rewrite Map with MapType prg in Apache 2.4, I'm having trouble passing the value back to Apache. The log says "map lookup OK", but the value is empty. On Stackoverflow and others, I found and tried out some examples, which in some cases where quite old, so probably written for olde