Mod_rewrite is Apache web server module that enables you to do behind scenes URL rewrite on your Apache powered web site. Using mod_rewrite you can make your site URL's user friendly and hide your site inner workings to increase security. Writing mod_rewrite rules requires some effort to master regular expressions and somewhat hairy mod_rewrite syntax. The whole process is much easier when you have insight to rewrite engine. In this article I'll show you how to debug Apache mod_rewrite by enabling logging feature while creating your rewrite rules.
Continue readingTag Archives: Web
WordPress plugin to remove logo and menu from admin bar
WordPress is really great thing, you will probably agree. It is free, open source and very fun to work with. Unfortunately there are times when WordPress guys go overboard with their logo and website links. It is a fine logo I really like looking at it but they don't really need to slap it all over the interface cause we're all aware that we're using WordPress (and we're loving it). Because of all that I'm bringing you little plugin I use here at TechyTalk.info to remove logo and associated menu with links from WordPress admin bar by default present for all logged in users.
Continue readingConfigure MySQL and Apache not to start at boot on Ubuntu Linux
I often do my web development on the move using my laptop. Because of that I must run Apache with PHP and MySQL servers on both my desktop and my laptop PC. You can probably guess that this doesn't help to conserve my laptop battery so I've configured my laptop not to start MySQL and Apache automatically at boot. Instead I start those services manually when I plan to do some coding. In this article I'll show you how to configure your Ubuntu based PC to do the same.
Continue readingChange WordPress RSS Widget refresh interval
Yesterday I've added AskUbuntu RSS Feed to TechyTalk.info sidebar to display feed of Ubuntu related questions with links to answers all provided by the Ubuntu community. This is really useful service. I've used WordPress RSS widget to display this RSS feed. The problem I've ran into was that WordPress RSS widget feed was refreshing only once in every 12 hours and for my purpose this is not often enough. In this article I will show you how to change WordPress RSS widget refresh interval.
Continue readingConfigure MySQL to keep log of all queries on Ubuntu Linux
In this article I will show you how to enable keeping general log of all SQL queries for MySQL DBMS on Ubuntu based operating systems. I find this very useful when debugging Ajax powered applications like my Quick Chat for WordPress. This way it is also easier to understand how application works by monitoring SQL queries it uses. So lets get started...
Continue reading