Nout - Zon Executive Posted January 26, 2011 Report Share Posted January 26, 2011 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 Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 28, 2011 Administrators Report Share Posted January 28, 2011 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.