Re: redirect port from 80 to 443

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2017-02-19 at 20:27 +0300, Marat Khalili wrote:

> "When not to use mod_rewrite" page was probably written by people
> frustrated with too many examples of incorrect mod_rewrite
> configurations in this forum.

Actually it was largely written by the same people who wrote the
mod_rewrite documentation.

Twenty years ago, mod_rewrite was a fantastic tool: powerful
and versatile.  Today it's even more powerful and versatile.

But it's also a horrendously *bad* way to accomplish most things:
in non-trivial cases, it's commonly used as a hacked-up
scripting language comprisising just two main instructions
(single IF aka RewriteCond, and GOTO aka RewriteRule) with
side-effects.

Which is why we recommend rationalising away from those
ancient mod_rewrite hacks that were once the only way to
accomplish something but are now obsolete.

By analogy, when I got my first programming job in the 1980s,
there was still lots of ancient FORTRAN around, from before the
FORTRAN-77 standard brought block structure to that language.
We newbies were NOT encouraged to write old-style spaghetti code.

-- 
Nick Kew



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux