我正在尝试调用一个URL (例如:http://localhost:2000/index.n/test),但是服务器将尝试找到像这样的test.n,并且我想在index.n文件中获取index.n/test作为请求的路径。我怎么能做到呢?(我在用Haxe)
(在PHP中,它可以工作)
非常感谢你,佩克莫
发布于 2014-01-24 00:35:25
如果您使用nekotools server测试您的neko脚本,则需要使用nekotools server -rewrite启动它。如果您正在使用apache,则需要使用mod_rewrite。
https://stackoverflow.com/questions/21320292
复制相似问题