D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] mod_rewrite weirdness

 

2010/1/4 michael mortimore <nospamformike@xxxxxxxxxxxxxx>:
> Is there some other magical method of url rewriting that I've started
> using by accident?

It turns out that there is.

it amounts to this: if you have the php script
http://localhost/php/myscript.php, then you can use
"http://localhost/php/myscript/junk/path/data"; as your url and have
the script pull out "junk", "path" and "data" as parameters.

further info here:
http://www.tutorio.com/tutorial/php-alternative-to-mod-rewrite-for-se-friendly-urls

Doh!

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html