Getting flash to show up in front of content
I used to have a problem of controlling flash elements on my sites.. On one site we have 6 different flash flv movies that are all the same size and are in the same position on the page. But only 1 is displayed at a time based on what the user wants to watch. So the selected flash movie needs to have the highest stacking order/zIndex.
Story by Author of PING for UNIX
Yes, it's true! I'm the author of ping for UNIX. Ping is a little thousand-line hack that I wrote in an evening which practically everyone seems to know about. :-)
Language/Country specific Google Search Engine's
The REAL Way to Optimize AdSense
If you can crash your daemon, you likely have a security problem
Tons of awesome tips and tricks using netcat. Port redirector, nessus wrapper, capture exploits being sent by vuln scanners, etc. This is very useful for doing stuff like redirecting traffic through your firewall out to other places like web servers and mail hubs, while posing no risk to the firewall machine itself.
Apache HTTPD Google CSE
Apache Documentation Google Custom Search Engine is a great place to go looking for mod_rewrite, .htaccess, and other Apache HTTPD related topics.
Login to Google AdSense using PHP
Demo php cURL code, that automatically logs into Google AdSense, using cookies and post fields with the POST method.
Freshen your Anti-virus, Anti-Rootkits, and Anti-Spyware
WordPress RewriteRules Viewer
Speed Tips: Use Multiple SubDomains
To make your site even faster, serve certain content from different subdomains. The reason this works is amazingly cool!
Speed Up Google Analytics with urchin.js
Speed Tips: Remove Last-Modified Header
If you remove the Last-Modified
and ETag
header, you will totally eliminate If-Modified-Since
and If-None-Match
requests and their 304 Not Modified
Responses.
Speed Tips: Turn Off ETags
Speed Tips: Add Future Expires Headers
Firefox, Firebug, and yslow are REQUIRED
A lot of the past and upcoming articles on AskApache are focused on speeding up a server or website, or just making things more efficient. I'm starting several speed tip articles that require the following 3 programs if you want to follow along, that is... if you can keep up! ;)
Wget Trick to Download from Restrictive Sites
Before
After trick
I am often logged in to my servers via SSH, and I need to download a file like a WordPress plugin. I've noticed many sites now employ a means of blocking robots like wget from accessing their files. Most of the time they use .htaccess to do this. So a permanent workaround has wget mimick a normal browser.
Speed Tips: Turn On Compression
Use the Apache module mod_deflate to compress your static .css
and .js
files, speeding your site up like crazy!
Downloading Multiple Files with Curl Simultaneously
Wouldn't it be great if you could use php and curl to download multiple files simultaneously using built-in curl functions? You can!
AskApache Search Engine Verify
You may not think much about verifying your website with these search engines, but I am of the opinion it is extremely good for Search Engine Optimization (SEO). In fact, I read the other day on Google that if you buy a domain with a checkered past that has been punished by the search engines and you want it to be reincluded in the index this is what they recommended. Verify your sites.
Alexa Toolbar Add-On for Firefox Works!
Troubleshooting Apache .htaccess Authentication
Apache Web Server users have problems getting Apache Authentication/password-protection in htaccess working, this is a troubleshooting guide to get Password Protection working!
Redirect index.php to root
WordPress blogs show the same duplicate content for https://www.askapache.com/index.php
and https://www.askapache.com/
. If you've read about using a robots.txt file for WordPress SEO, than you already understand this setup results in Duplicate Content penalties being levied against your Blog and Web Site by Search Engines.
Want to know how to really hack?
Custom Webmaster Shell Environment
Rigging the DreamHost Site of the Month Contest
Allow AdSense Crawler Access
DreamHost Site of The Month is AskApache!
AskApache.com won the contest for May! Thanks to all of you who voted for my site! Even though AskApache won the contest according to the rules, somehow they said I cheated by giving DreamHost too much free publicity and advertising. I love DreamHost!
Advanced Google Analytics 404 Error Page
Multiply your DreamHost Referrals
Learn how to make YOUR DreamHost promo codes work much better for YOU! This is not about promo-codes, this is about a simple method you should implement.
The Final Countdown – Mario Bros Style
Like those behind Vista, they seem to believe we all have state-of-the-art supercomputers and datacenters like they do.
I'm staying old school, resist the gui!
Changing Any Password On XP
This quick tutorial will show you the steps to change and reset any user password on a windows computer, and also show you how to protect your computer from people doing this to you!
PullQuotes using CSS
Top methods for Faster, Speedier web sites
DreamHost Site of The Month Contest
Every month a contest called DHSOTM is held for the highest rated website on DreamHost. By winning the contest your site gets SEO and traffic benefits, which I hope to measure soon.
On-Demand MySQL Backup Shell Script
WordPress robots.txt SEO
Apache Variable Fun in htaccess
Server and Environment Variables are used by The Apache HTTP Server by provides a mechanism for storing information. This information can be used to control various operations such as logging or access control.
htaccess HTTPS / SSL Tips, Tricks, and Hacks
Apache has the best SSL/HTTPS support and can be controlled by the httpd.conf file or other HTTPD server configuration file. This htaccess tutorial has htaccess example code to make it easy to secure and use HTTPS and SSL with Apache.
Security with Apache htaccess Tutorial
Apache Security tips and tricks for securing Apache Web Servers using htaccess, httpd.conf, and other built-in techniques to thwart attackers. This really should be required reading for any Apache admin or user because these little tricks are so easy to do.