apache – Htaccess accessing outside of the current directory – Education Career Blog

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 current 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.

Leave a Comment