Ruby on Rails
mod_rewrite (Version #6)

An Apache module that allows a web site administrator to determine how the URLs of incoming HTTP requests are interpreted.

Rails used to depend more heavily on “mod_rewrite ":http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html(what’s the use of a link to the current page ??), but present usage favours using ”http://wiki.rubyonrails.org/rails/pages/Routes" class="existingWikiWord">Routes, which are more flexible, easier to maintain, and more portable.

At present, RewriteRules are generally only used in one .htaccess file for each application (see UnderstandingHowRequestsAreRouted) and sometimes in the system wide http.conf (see HowtoDeployMoreThanOneRailsAppOnOneMachine).

If you really need to know more about mod_rewrite see the Apache documentation

You can find a fine mod_rewrite tutorial on kuro5hin Another mod_rewrite primer can be found on sitepoint

category: Glossary

An Apache module that allows a web site administrator to determine how the URLs of incoming HTTP requests are interpreted.

Rails used to depend more heavily on “mod_rewrite ":http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html(what’s the use of a link to the current page ??), but present usage favours using ”http://wiki.rubyonrails.org/rails/pages/Routes" class="existingWikiWord">Routes, which are more flexible, easier to maintain, and more portable.

At present, RewriteRules are generally only used in one .htaccess file for each application (see UnderstandingHowRequestsAreRouted) and sometimes in the system wide http.conf (see HowtoDeployMoreThanOneRailsAppOnOneMachine).

If you really need to know more about mod_rewrite see the Apache documentation

You can find a fine mod_rewrite tutorial on kuro5hin Another mod_rewrite primer can be found on sitepoint

category: Glossary