News:

MyKidsDiary.in :: Capture your kids magical moment and create your Online Private Diary for your kids

Main Menu

mod_rewrite: No More Endless Loops!

Started by sukishan, Aug 22, 2009, 07:17 PM

Previous topic - Next topic

sukishan

Looking To The Change Log...

The change logs for Apache 2.0.45 and 1.3.28 contain the following notes:

Apache 2.0.45:
Prevent endless loops of internal redirects in mod_rewrite by
aborting after exceeding a limit of internal redirects. The
limit defaults to 10 and can be changed using the RewriteOptions
directive. PR 17462. [André Malo]

Apache 1.3.28:
backport from 2.x series: Prevent endless loops of internal redirects
in mod_rewrite by aborting after exceeding a limit of internal redirects.
The limit defaults to 10 and can be changed using the RewriteOptions
directive. PR 17462. [André Malo]

These two releases of the popular Web server introduce a new option for the RewriteOptions directive: MaxRedirects.

mod_rewrite, for those that don't know, is a powerful module that allows you to handle incoming URI requests and more.

This article will explain the use of and advantages of the MaxRedirects option. Web hosting companies that offer the mod_rewrite module should take note of these reasons to upgrade to the latest Apache release. Keeping your Web server up-to-date is a must. Hosting companies that do not offer the mod_rewrite module are encouraged to enable it.
A good beginning makes a good ending