> sscanf(strchr(input,'/') + 1, "%d", &number); // extract only number
> RewriteRule ^/(.*) http://${prgmap:$1}/ [P] > (5) map lookup OK: map=prgmap key=1 -> val= Decide whether your passing in something with a slash or not. Does your program do the right thing when run outside of Apache? -- Eric Covener cove...@gmail.com --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org