How To Automatically Remove error_log Files

Apache has great logging features, but if you’re using shared hosting, then sometimes removing error_log files might not be very simple. Poking around the Internet did lead me to Lester’s site, where he has generously created and offered an error_log file cleaning script for free. Grab that script here. Just upload that script to your web server, run it, and any error_log file that it finds (it searches downwards recursively), it will delete. So if you’re looking for a way

Continue Reading

How To Add Cron or Cron-like Jobs To Mac (With MAMP or Otherwise)

The Mac runs on Unix, which makes it incredibly powerful. You might be running MAMP or a stand-alone version of Apache, and one of the things that you might want to run is cron, which is a scheduling tool. Instead of cron though, you could actually have your Mac just run a launch daemon. Just go to terminal, and type: cd /Library/LaunchDaemons/ Now type: sudo vim yourfile.cron.plist You’ll be asked for your administrator password, and after entering it, you’ll be

Continue Reading

How To Create And Use .htaccess Files For Apache Web Server in Microsoft Windows

Windows doesn’t support .htaccess files because of the naming convention. To Windows,.htaccess essentially is a nameless file, with a .htaccess file extension, similar in concept to having a file named .jpg. So you can see why file editors would complain if you try to save a file named .htaccess. You can workaround this by 2 ways though: Step 1: You can bring in the file, e.g. through FTP off a Linux box, and you can have it on your Windows

Continue Reading

Site Footer

Sliding Sidebar


The contents on this blog are not intended as professional advice. The author disclaims any liability, loss, or risk taken by individuals who directly or indirectly act on the information contained on this blog.