+ 1
.htaccess problem
I have a sit named api.eu5.org When the people who visit /ip/callbackExample I want to show them /index.php?method=getip&callback=callbackExample how to do it in .htaccess
10 ответов
+ 2
hello there,
http://example.com/getip/callbackExample
Try this
RewriteEngine On
RewriteRule ^([^/]*)/([^/]*)$ /index.php?method=$1&callback=$2 [L]
+ 2
Yes,it works
api.eu5.org/getip/aaa
+ 2
You should probably document the calls
+ 2
Ben Allen (Njinx)
document the calls?
can you sat it more clearly?
+ 1
Thanks a lot! ☺😊
by Ryan from🇹🇼
+ 1
Did this work??
+ 1
Links not work 張睿玹
+ 1
Yes
+ 1
Ok it's up now
+ 1
?