"Mod_rewrite" How do you achieve the URLs?

Hi Guys,

I have a question about the “mod_rewrite” in phpVMS. I’m not sure if I can call it exactly that, because I know that Apache’s mod_rewrite makes site.com/page/cookies refer to site.com/index.php?page=cookies

I was wondering how the URL system in phpVMS works such that i.e. www.site.com/index.php/pilots refers to www.site.com/core/modules/pilots/pilots.php

Furthermore is there a way to manipulate this such that i.e. www.site.com/pilots has the same effect as www.site.com/index.php/pilots

Cheers,

Nout

You can use htaccess to make /pilots to go index.php/pilots

It will auto lookup the module based on that name passed in. Any arguments after that are passed in as function arguments