RSSAmplifier

Podcast

AskApache

Advanced Web Development

RSS feed ↗20 episodes

Latest episodes

Htaccess Mod_Rewrite – Crazy Advanced Master Class

htaccess rewrite Master Class! If you understand the basics of mod_rewrite, or if you literally write the mod_rewite.c code, this article will transform your thinking. The transformation is profound. Deeply effective. Culmination of the best of the best mod_rewrite tricks for understanding and learning exactly what rewrite is doing. The post Htaccess Mod_Rewrite Crazy Advanced Master Class…

Chmod, Umask, Stat, Fileperms, and File Permissions

Unix file permissions are one of the more difficult subjects to grasp.. Well, ok maybe "grasp" isn't the word.. Master is the right word.. Unix file permissions is a hard topic to fully master, mainly I think because there aren't many instances when a computer user encounters them seriously, and bitwise is oldschool. This contains a listing of all possible permission masks and bits from a linux,…

PHP fsockopen for FAST DNS lookups over UDP

While reading up on gethostbyaddr on PHP.net, I saw a nice idea for using fsockopen to connect over UDP port 53 to any Public DNS server, like Google DNS 8.8.8.8 , and sending the reverse addr lookup in oh about 100 bytes, then getting the response in oh about 150 bytes! All in less than a second. This is how/why to read/write data directly to the wire! This would be extremely valuable for use in…

Advanced Windows Batch File Scripting

If for some reason you need to use windows .bat batch file scripting to do some task, or you just want to learn the most universal batch programming language on Windows machines, you lucked out and found the AskApache example. My expertise is the shell, in this article the shell is Windows cmd.exe . It has some pretty advanced windows shell usage, including pipes and redirection, but it's the…

Crazy POWERFUL Bash Prompt

This amazing bash linux prompt does more than meets the eye. If you want to know how to become really good with technology, linux is the secret sauce behind the AskApache articles. Open Source is elixir of the web. Thanks to everyone who helped me for the past 20 years. I use linux/bsd because homey don't play , so this is geared to be as productive a prompt as I can make it. Don't have much…

View Your Server Environment Variables using Htaccess Mod_Rewrite

Get your real server info The post View Your Server Environment Variables using Htaccess Mod_Rewrite appeared first on AskApache .

.htaccess Examples: Cookies, Variables, Custom Headers

Fresh .htaccess code for you! Check out the Cookie Manipulation and environment variable usage with mod_rewrite! I also included a couple Mod_Security .htaccess examples. Enjoy! Originally Posted: 3/29/2008 The post .htaccess Examples: Cookies, Variables, Custom Headers appeared first on AskApache .

Hacking VLAN switched networks

There isn't much vlan info on the net in terms of specifics and I had to learn all about it because I needed to log in to a switch that was on a different vlan. With the help of the Ettercap developers NaGA and ALoR I figured it out. Originally Posted: 3/30/2004 The post Hacking VLAN switched networks appeared first on AskApache .

Apache Compression, Vary, mod_deflate

The post Apache Compression, Vary, mod_deflate appeared first on AskApache .

Respond with 200 OK for 404 Not Found

What if you'd like to send a 200 OK response instead of the default 404 Not Found response using Apache .htaccess files or httpd.conf ? One use would be to make sure upstream caches cache any request on an api server, as 404's are not cached. The post Respond with 200 OK for 404 Not Found appeared first on AskApache .

Libcurl Error Codes

The post Libcurl Error Codes appeared first on AskApache .

Google Trends for SEO / Apache Htaccess

.htaccess Topic vs htaccess Keyword The post Google Trends for SEO / Apache Htaccess appeared first on AskApache .

ListOfErrors

The post ListOfErrors appeared first on AskApache .

Apache 2.4 and PHP-FPM

The post Apache 2.4 and PHP-FPM appeared first on AskApache .

GRUB_INIT_TUNE – Play sound through pcspkr

Play a tune directly on your pcspeaker right before the grub boot manager loads. The post GRUB_INIT_TUNE Play sound through pcspkr appeared first on AskApache .

MariaDB with LZ4 Compression Howto for CentOS

I really really wanted to run the latest MariaDB with LZ4 Page Compression.. it is a game changer for many types of large 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 Page Compression with lzo, lzma, bzip2, snappy, or my favorite algorithm: LZ4. Thought this would be a good chance to…

Serving WebP images for PNG and JPG files

One of the biggest speed bottlenecks of sites today are images, specifically unoptimized images or large scaled images. With Apaches Rewrite module we can convert all existing jpegs and png files (and most gifs) to webp, then transparently rewrite them so that a request for img.png from a browser that supports webp will receive img.webp. The post Serving WebP images for PNG and JPG files appeared…

Internet Census 2012 – Port scanning using insecure embedded devices – Carna Botnet

While playing around with the Nmap Scripting Engine (NSE) we discovered an amazing number of open embedded devices on the Internet. Many of them are based on Linux and allow login to standard BusyBox with empty or default credentials. We used these devices to build a distributed port scanner to scan all IPv4 addresses. These scans include service probes for the most common ports, ICMP ping,…

Advanced WordPress wp-config.php Tweaks

The bottom line for this article is that I want to make WordPress as fast, secure, and easy to install, run, and manage because I am using it more and more for client production sites, I will work 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 tweaking WordPress. Note:…

WordPress .htaccess in-depth

WordPress uses a file named .htaccess to rewrite all requests to the main index.php file. This article explains what the htaccess file rules look like and what they actually do. The post WordPress .htaccess in-depth appeared first on AskApache .