• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Matt Doyle | Elated Communications

Web and WordPress Development

  • About Me
  • Blog
    • Design & Multimedia
      • Photoshop
      • Paint Shop Pro
      • Video & Audio
    • Online Marketing
      • E-Commerce
      • Social Media
    • Running a Website
      • WordPress
      • Apache
      • UNIX and Linux
      • Using FTP
    • Web Development
      • HTML
      • CSS
      • JavaScript
      • PHP
      • Perl and CGI Scripting
  • Portfolio
  • Contact Me
  • Hire Me
Home / Blog / Running a Website / Apache

Apache

Includes handy things you can do if your site runs on an Apache web server, such as password protecting your pages.

mod_rewrite Tutorial for Absolute Beginners

3 January 2010 / 21 Comments

Writing a URLmod_rewrite is a marvellous feature of the Apache Web server. It’s very flexible and can do all sorts of useful things.

mod_rewrite can be quite tricky for beginners to pick up due to its somewhat complicated syntax and processing mechanism. However, once you understand a few basic concepts then you can use mod_rewrite to do some pretty clever things with your site.

In this tutorial you’ll find out what mod_rewrite is, and the kind of things you can use it for. You’ll learn how to create a few basic mod_rewrite rules, and you’ll explore some useful real-world examples that you can use on your own website.

[Read more…] about mod_rewrite Tutorial for Absolute Beginners

Making a Custom Error Page

16 October 2006 / Leave a Comment

Introduction

You’ve probably seen the standard Apache 404 error page many times, when you’ve visited a Web page that no longer exists:

Default Apache 404 error page

Not very pretty, is it? It doesn’t help much either. Something like the following would be much more useful:

A nicer 404 error page

The second error page looks better, is more friendly, and gives the visitor some more options to try (as opposed to just going to another website!).

In this tutorial we’ll show you how to set up your website to serve your own error page rather than the default Apache one.

[Read more…] about Making a Custom Error Page

Password Protecting Your Pages with htaccess

3 October 2005 / 35 Comments

Introduction

You may have visited a web page that pops up a dialog box similar to this one:

Password protection dialog

If you don’t know the username and password to enter, then you can’t access the page or site – it’s “password protected”. It’s sometimes handy to be able to password protect your pages like this – for example:

  • You’re building a new site, but you only want yourself (and maybe a select few) to be able to view the work-in-progress.
  • You have an area of your site that you never want the general public to have access to – for example, your web stats or private pages.
  • You have some paid (subscription) content on your site that only subscribers should be able to access.

Apache lets you password protect individual files, folders, or your entire site fairly easily. Read on to find out how it’s done.

[Read more…] about Password Protecting Your Pages with htaccess

Primary Sidebar

Hire Matt!

Matt Doyle headshot

Need a little help with your website? I have over 20 years of web development experience under my belt. Let’s chat!

Matt Doyle - Codeable Expert Certificate

Hire Me Today

Call Me: +61 2 8006 0622

Stay in Touch!

Subscribe to get a quick email whenever I add new articles, free goodies, or special offers. I won’t spam you.

Subscribe

Recent Posts

  • Make a Rotatable 3D Product Boxshot with Three.js
  • Speed Up Your WordPress Website: 11 Simple Steps to a Faster Site
  • Reboot!
  • Wordfence Tutorial: How to Keep Your WordPress Site Safe from Hackers
  • How to Make Awesome-Looking Images for Your Website

Footer

Contact Matt

  • Email Me
  • Call Me: +61 2 8006 0622

Follow Matt

  • E-mail
  • Facebook
  • GitHub
  • LinkedIn
  • Twitter

Copyright © 1996-2023 Elated Communications. All rights reserved.
Affiliate Disclaimer | Privacy Policy | Terms of Use | Service T&C | Credits