Apache Server Mod_rewrite Explain
- Forums
- Linux Hosting
- Apache Server Mod_rewrite Explain
This Page Contains information about Apache Server Mod_rewrite Explain By luke in category Linux Hosting with 1 Replies. [1169], Last Updated: Mon Jun 24, 2024
luke
Tue Apr 01, 2008
1 Comments
555 Visits
Apache Server mod rewrite explained
thanks for your tutorials on apache mod rewrite, i learn some, but i still need to learn more
do you have any other suggestions or tips on how i can learn more about this
this url mascarading stuff is really intersting
http://www.webune.com/forums/learn-how-to-use-apache-module-mod-rewrite-explained-t281.html
mod_rewrite is search engines's best friend to your site. Specifically if you are dynamic web sites with the popular PHP programming language.
The mod_rewrite module uses a rule-based rewriting engine that is based on a regular-expression parser to rewrite requested URLs on a real time basis. It supports an unlimited number of rules and an unlimited number of attached rule conditions for each rule to provide a really flexible and powerful URL manipulation mechanism. The URL manipulations can depend on various tests, for instance server variables, environment variables, HTTP headers, time stamps and even external database lookups in various formats can be used to achieve a really granular URL matching.
This module operates on the full URLs (including the path-info part) both in per-server context (httpd.conf) and per-directory context (.htaccess) and can even generate query-string parts on result. The rewritten result can lead to internal sub-processing, external request redirection or even to an internal proxy throughput.
But all this functionality and flexibility has its drawback: complexity. So don't expect to understand this entire module in just one day.
This module was invented and originally written in April 1996
and gifted exclusively to the The Apache Group in July 1997 by
Ralf S. Engelschall
[email protected]
www.engelschall.com
https://www.webune.com/forums/apache-server-mod-rewrite-explain.html