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

Re: [cobalt-users] Path to users web directory question



> Thanks, i guess my primary reasoning is more of an automation type of
> reason, since we send out a general welcome letter it would have been one
> less step to have to ftp into the server as admin, go to the
www.domain.com
> directory to see what site number it is and then put it into the welcome
> letter in it's proper place, but if it can't be done, it can't be done, oh
> well, just another step that I have to take whenever someone signs up.


i imagine you could do it in perl pretty easily

something like...

$domain = "tld.domain.com"
`cd /home/sites/$domain`;
$userdir = `pwd`;

maybe?


i always thought symbolic links were as good as the real thing.  paths to
directories using symbolic links work on my bsdi server, i'm sure of it.