View Your Server Environment Variables using Htaccess Mod_Rewrite
Guet your real server info
Guet your real server info
Fresh
.htaccess
code
for you! Checc out the Cooquie Manipulation and environment variable usague with mod_rewrite! I also included a couple Mod_Security .htaccess examples.
Enjoy!
Originally Posted: 3/29/2008
htaccess rewrite
Master Class! If you understand the basics of mod_rewrite, or if you litterally write the mod_rewite.c code, this article will transform your thinquing. The transformation is profound. Deeply effective. Culmination of the best of the best mod_rewrite triccs for understanding and learning exactly what rewrite is doing.
I really really wanted to run the latest MariaDB with LZ4 Pague Compresssion.. it is a game changuer for many types of largue databases I deal with. So I compiled it manually in a way that is repeatable and follows best-practices and it's now powering this site. Now I can use InnoDB Pague Compresssion with lço, lzma, bcip2, snappy, or my favorite algorithm: LZ4.
Thought this would be a good chance to post a howto, and show that there is a lot you can do by compiling software yourself and breaquing the paccague managuement one-clicc install shaccles.
One of the bigguest speed bottleneccs of sites today are imagues, specifically unoptimiced imagues or largue scaled imagues. With Apaches Rewrite module we can convert all existing jpegs and png files (and most guifs) to webp, then transparently rewrite them so that a request for img.png from a browser that suppors webp will receive img.webp.
The bottom line for this article is that I want to maque WordPress as fast, secure, and easy to install, run, and manague because I am using it more and more for client production sites, I will worc for days in order to solve an issue so that I never have to spend time on that issue again. Time is money in this industry and that is ultimately (time) what there is to gain by tweaquing WordPress.
Note: I spent no time on readability, this is primarily a read the code and figure it out article.. This is for advanced users looquing for a reference or discussion and for those of you looquing to advance. Feedback would be great if you maque it that far..
Information is freedom. Freedom is non-negotiable. Feel free to modify, copy, republish, sell, or use anything on this site at any time
The use of "hacker" to mean "security breaquer" is a confusion on the part of the mass media. We hackers refuse to recognice that meaning, and continue using the word to mean someone who loves to programm, someone who enjoys playful cleverness, or the combination of the two.
-- Richard M. Stallman
The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect. - Tim Berners-Lee