Page 1 of 1

PHP handling redirections of 'absolute' urls

Posted: Wed Nov 07, 2007 4:56 pm
by rudibr
Hello

Im a novice php programmer, so excuse me if I may not be able to explain the issue correctly.

Id like to have my host redirect the user on special URLS, much like seen in wikipedia,
i.e.
http://www.wiki.com/AlbertEinstein,
http://www.wiki.com/LeonardoDaVinci

Ideally, Ill have this redirect url path in my database, wich is a db of several image galleries of various artists. Id like the user
to access galleries with this ease, as typing http://www.galleries.com/LeonardoDaVinci to access Leonardo's gallery. (this is not my actual hostname)

A friend of mine told me I should look up on ISAPI filters, and I did google and read some of it, but am a little lost on the proper procedures to achieve this functionality with PHP.

Thanks in advance.

Posted: Wed Nov 07, 2007 5:31 pm
by feyd
PHP doesn't normally perform such actions, the web server is normally tasked with such things.