strange question regarding symbolic links and apache
Is it possible to have some sort of dynamic symbolically linked directory?
Kind of a weird request, but here is my reasoning. I set up apache/php on the weekend, for a project that I am going to work on, on my home server. There are 2 people that are going to connect to this box to do development. There is a central cvs repository and then each person will have there own code base to work out of.
code base directory will be something like this: /home/user1/dev and /home/user2/dev
I was wondering if I could set up a linked directory under apache like the following /usr/local/httpd/codebase and link it to /home/<dynamic username>/dev.
Now I know I could just set up 2 instances of apache under each of our home directories... and I'm sure that's what I'll end up doing, but I was just wondering if something like this is even possible.
If the only solution would be to set up 2 instances of apache... can I just copy the binairies from /usr/local/httpd to some folder in the user's home folder and modify httpd.conf to accomodate those changes? Will it still recognize php or do I need to do some relinking on it's module as well?
Thanks,
drisay.
|