php website url matching question -


i new php site, familiar .net web forms sites.

i can't figure out how routing working on php site.

www.oursite.com/suggestions.php suggestions.php
www.oursite.com/suggestions loads php fine
www.oursite.com/suggestions/ loads php, no css applied
www.oursite.com/suggestions/anything - comes after '/' ignored , suggestions loaded without css. oursite.com/suggestions////// works, oursite.com/suggestions/2/2/2/2/whatever

i have searched not found explanation on how working. can explain or provide resource?

thank you.

this done using mod_rewrite, apache extension. you'll find file called .htaccess in public root, in these rewriting rules defined.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -