Re: Hide the real URL

From: Date: Sun, 29 Jul 2007 05:37:02 +0000
Subject: Re: Hide the real URL
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-259758@lists.php.net to get a copy of this message
On Fri, July 27, 2007 10:17 pm, Eric Butera wrote: > We have our own dedicated server that we host client sites on. If I > were to back out into the root then I would be at the level of all the > other sites. It just doesn't make sense in my case. It's pretty trivial to add one more layer of directories in your setup script so that httpd.conf has something like: <DocumentRoot "/home/clienta/htdocs"> </DocumentRoot> <DocumentRoot "/home/company/htdocs"> </DocumentRoot> and the directory structure is: /home /clienta /private /htdocs /company /private /htdocs This is not rocket science, which is why any decent webhost with half a clue about any kind of dynamic scripted sites does this... -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.general (#259758) next »