Re: Hide the real URL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux