Ever wanted to have some fancy URL for your website ?

In: Apache| MOD_REWRITE| MOD_SQLALIAS

18 Mar 2009

You are using some CMS but don’t really like the way it handles URL’s … ?

For example, instead of having “www.mysite.com/index.php?id=12″, you would like to have “www.mysite.com/love” ?

Well, MOD_SQLAlias may be the solution for you, it is an Apache2 module under LGPL, it “will intercept specific URI requests and dispatch them to the appropriate page to be served using a MySQL alias table“.

Basically, you can install this apache module and use it with your current website. It will be completly transparent and will work with your current CMS.

The project can be found on sourceforge here: Mod_SqlAlias on sourceforge

  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks

Comment Form

Who am I?

My name is Bashar Al-Fallouji, I work as a Enterprise Solutions Architect at Amazon Web Services (Sydney, Australia).

I am particularly interested in Cloud Computing, Web applications, Open Source Development, Software Engineering, Information Architecture, Unit Testing, XP/Agile development, etc.

On this blog, you will find mostly technical articles and thoughts around PHP, OOP, OOD, Unit Testing, etc. I am also sharing a few open source tools and scripts.

  • dipan: Hi Bashar It's really awesome that you wrote this code. IT'll save tones of time of all developer. [...]
  • Bashar: Glad that you liked it ! [...]
  • Angel S. Moreno: well, there goes wasting a couple of hours of development and a couple of days of testing. I owe you [...]
  • Bashar: Thats right, the setSaveFile create a files containing an associative array of classname => filen [...]
  • Loggy: Jim's clarification in particular was pretty useful although I did have to dig down into the tree to [...]