hi
I am using uhttpd, and I want to configure a page to handle all the
request. so it requires a redirection in for all the traffic. and I am
looking for the answer about how to achieve this .

in apache ,there is an rewrite module, and once config like below

RewriteEngine onRewriteRule   ^/(.+)  /index.php?url=$1  [R,L]

all the request to this server. e.g. to /abc.php will be redirect to
/index.php?url=abc.php
in this case, we can hand the index.php to handle all the request no matter
what URI you want.

Can we achieve this in uhttpd?

Best Regards,
Bill Yuan
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to