Hey guys, I'm new here and I'm seeking for a solution that will solve my problem. The problem is that i built a website which working with MVC Pattern and i made all the addresses look like that: handler/articles/show/1 handler/user/editprofile etc.. now i'm trying to make the "handler" file which is the engine of the website and calling the pages to work as a invisible background file so the URLs will look like that: http://myweb.com/articles/show/1 http://myweb.com/user/editprofile etc.. the "handler" is a PHP file who generating the SCRIPT_NAME and seperating each "/" into array. I thought about something like that: any string given after "/" which is not directory that exist will call the file that will run in the background (example: http://mysite.com/images will reffer to images dir because its exist otherwise it will call the handler file). I hope that you will help me to solve it ! thank you!