Re: Site root question: Newbie



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
.