There is one open source CMS which is with MVC model and in the .httaccess there is
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?%{QUERY_STRING} [NE,L]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
So let say that url is htpp://site.com/admin/settings
There is folder named controllers and in it is file admin_settings.php
How to get the full url i try this but it dosent work
htpp://site.com/index.php?:admin_sesstings.php
// and since its a MVC we access everething from index.php
I have seen something like this index.php?url={filename}
but in here is different
Meaning that if you actually request an existing file it will be served “as is”.
So, you should point your browser to
http://site.com/controllers/admin_settings.phpand your file will be served.