You are here: Re: Site root question: Newbie « All PHP « IT news, forums, messages
Re: Site root question: Newbie

Posted by J.O. Aho on 10/11/37 11:56

Pupkin wrote:

> Is there a way in PHP to set a global variable that will tell all of the
> root-relative links in this dev site to really look here for a starting
> point: "http://www.site.com/client/dev/2006/"?

That depends on how the thing is coded, I would guess that the variable that
you set to "/client/dev/2006/" was all you needed to change.


> TBH, I've always had trouble reconciling my more familiar IIS-based
> concept of site roots (where the root folder is the root folder, period)
> to common Linux server concepts of site roots, such as when they have a
> user root with some code, with the web site root a few folders deeper.
> If anyone could also point me to a crash course in understanding this
> different configuration, I'd appreciate it.

You managed to loose me there, if you are using apache, then go to apache.org
and see the documentation there.


//Aho

 

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

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