Articles tagged Apache

Apache RewriteRule and query strings
At first glance, the way the Apache mod_rewrite module handles query strings can be a little intimidating. mod_rewrite works by sitting on your server in a file called htaccess, and “catching” requests for URL‘s. It then checks these URL request against a series of rules and conditions you have set. If the request meets any of the rules and conditions, it applies then necessary changes to the URL, then reprocesses the request with the changes you have directed. Read more – ‘Apache RewriteRule and query strings’.
Apache .htaccess query string redirects
One of the most common tasks performed by Apache and htaccess is the manipulation of a URL and configuring a redirect for a specific page. Read more – ‘Apache .htaccess query string redirects’.
Apachectl Ulimit Error
Restarting Apache on my MacBook Pro today, using the command line argument sudo apachectl -k start resulted in a rather strange error Read more – ‘Apachectl Ulimit Error’.
Setting up PHP on Mac OSX 10.6 (Snow Leopard)
Since Apple launched Mac OS X 10.5 (Leopard), PHP has been installed by default, albeit disabled. Here is a quick run through of what you need to do to get it up and running. Read more – ‘Setting up PHP on Mac OSX 10.6 (Snow Leopard)’.
How to Configure Apache to GZip Your Components
Compressing your Web components will help speed up your Website. The majority of your visitors will benefit as most all Web browsers support GZip compression. You’ll want to compress all text, which includes HTML, CSS, JavaScript, XML, JSON, etc. Read more – ‘How to Configure Apache to GZip Your Components’.
How to Set an Expires Header in Apache
Setting an Expires (or Cache-Control) header in Apache will help speed up your website. I'm running Apache 2.x, and define an expires header for all of the site's static assets (images, stylesheets, and scripts). Read more – ‘How to Set an Expires Header in Apache’.
Using Ant with Eclipse
If you're currently not using Eclipse as your development tool of choice, you certainly should be! Eclipse is an open source community whose projects are focused on building an open development platform comprised of extensible frameworks, tools and runtimes for building, deploying and managing software across the lifecycle. Read more – ‘Using Ant with Eclipse’.
Enabling Search Engine Safe URLs with Apache and htaccess
An increasingly popular technique among websites and in particular, blogs, is the idea of making URLs search engine friendly, or safe, on the premise that doing so will help search engine optimisation. By removing the obscure query string element of a URL and replacing it with keyword rich alternatives, not only makes it more readable for a human being, but also the venerable robots that allow our page content to be found in the first place. Read more – ‘Enabling Search Engine Safe URLs with Apache and htaccess’.
Apache Installation – Problems with Skype
When trying to install the latest version of Apache on my development machine, I was presented with a nasty error at the end of the installation, that I initially thought related to a previous IIS installation. Read more – ‘Apache Installation – Problems with Skype’.
PHP.ini Permission Problems on Windows Vista
Installing PHP is a relatively simple task one would think. Indeed it is simple, but configuring the php.ini isn't; at least not so on Windows Vista! It is infuriating when such a relatively simple task is made inordinately complicated because of the nuances of Vista permissions. What started out as a 5 minute task took a significant number of hours searching for a suitable answer on Google, and not only by myself. Read more – ‘PHP.ini Permission Problems on Windows Vista’.