Re: Site root question: Newbie
- From: "J.O. Aho" <user@xxxxxxxxxxx>
- Date: Fri, 25 Aug 2006 22:55:37 +0200
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
.
- Follow-Ups:
- Re: Site root question: Newbie
- From: Pupkin
- Re: Site root question: Newbie
- References:
- Site root question: Newbie
- From: Pupkin
- Site root question: Newbie
- Prev by Date: Re: please explane cookies.
- Next by Date: Re: Site root question: Newbie
- Previous by thread: Site root question: Newbie
- Next by thread: Re: Site root question: Newbie
- Index(es):