You are here: Mod_rewrite question - does php expose the original url? « PHP Programming Language « IT news, forums, messages
Mod_rewrite question - does php expose the original url?

Posted by Jon Maz on 10/03/05 15:12

Hi All,

Forgive a newbie-ish question here, but I've not been long in the Apache /
PHP world.

I'm just learning about mod_rewrite, and a question occurred to me. Once
Apache has rewritten a url, the php page can (obviously) see the *rewritten*
url and access it via $_GET. But does php have any access to the *original*
url? I'm told that Apache *does* expose both urls (original and rewritten),
it's just a question of whether the php module also exposes both.

Any ideas?

Cheers,

JON

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация