View Full Version : mod rewrite tutorial & .htaccess examples


rizla
08-18-2004, 01:12 PM
Hi, I've been googling for few hours, searched this forum and read the mod-rewrite forum threads as well but...

couldn't find an easy one-stop-tutorial for mod rewrite, expressions and .htaccess examples, maybe you will find the time to do so? ;)

or... just post a link to the best tutorial there is out there...

thanks, riz

Pyrrhonist
08-18-2004, 01:17 PM
The way that I learned mod_rewrite is to take a look at the apache documentation (there's two different files for this) and then some trial and error.

If you're familiar with regular expressions then it's just a matter of learning the specifics of mod_rewrite and how it differs from regexp in other languages.

Give it a try, and if you have any specific questions post them here or at the mod_rewrite forum and I'll see if I (or someone else of course... owlcroft?) can't give you a quick and dirty answer for them.

Start with something simple like redirecting a page from .html to .php (or to whatever extension you use) and then you can move on to more exotic rewrites from there.

Somtam
09-05-2004, 08:03 PM
Maybe too late now, but I found these tutorials about mod rewrite...By first look it seems to be for beginners. You'll find it here:
http://www.stickysauce.com/tutorials/misc/tutorialsindex.htm

Regards,

Trond.

rizla
09-05-2004, 09:46 PM
thanks Trond - it looks very informative