It’s always boggled me. When you ask a question on stack over flow the url does not have any get statement. It also does not have any extension like .cgi or .php.
However it is not a static html page it is database driven since it changes when you post answers or questions.
Does it have something to do with their .htaccess configuration. How can one achieve a similar effect.
Using php or another language how can someone create a dynamic editable php without manually doing it, for example via a form like the way I submitted this question.
Pretty/Clean/Fancy URLs
Essentially, the web server knows that segments of the URL are actually GET parameters and it “re-writes” the URL before handing it off to PHP/Ruby/.NET/etc.
For example, Apache uses the
mod_rewritemodule to accomplish this behavior.