开发者

Htaccess accessing outside of the current directory

In my web root I have a .htaccess which uses a RewriteRule, for example:

RewriteRule ^/t/([0-9]+)/$ ../list.php?id=$1 [L]

Is this correct if list.php is in the folder below the cur开发者_如何学运维rent one? I can't find any information about this and it's currently not working, so I'm not sure whether it is either possible, or I am doing it wrong.

Thanks,

Dan


The second path don't care about "current folder" as it starts after the host.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜