eric1235711 Posted May 23, 2007 Share Posted May 23, 2007 Hello I got a doubt, and I don't know if that's possible to do. Supose that I got a "frameworked" system with a directory system like this: /www /core /system /config /userfiles index.php Core got the framework's core files. System got my software files. Config is the configurations directory. And userfiles contais the files uploaded by the system users. Well, supose that I got many copies of this structure for each of my subdomais in my linux server, such: /home/foo/www/ /home/bar/www/ /home/foobar/www/ /home/yadayadayada/www/ /home/blablabla/www/ /* etc */ And now I got some problems. Each new customer I get I'll have more disk space spent with redundat files; and if I need to update the core or the system, I'll spend many time copying to each directory. And etc. Isn't there a way to alias only core, system, and the root files? Is there a way to make all the subdomains access the general files in only one directory? Consider that there are may other files in index.php level, and also consider that /config directory got "general" files and "personal" files. thanks in advance... Quote Link to comment Share on other sites More sharing options...
ReDucTor Posted May 23, 2007 Share Posted May 23, 2007 What you can do is create a symbolic link or hard link between folders. e.g. ln -s /home/mainuser/www/core /home/otheruser/www/core I would suggest if all users are going to have it do this through /etc/skel or /etc/profile Quote Link to comment Share on other sites More sharing options...
eric1235711 Posted May 24, 2007 Author Share Posted May 24, 2007 apache handles symbolic links as linux does? so may I instead of using aliasing, use symbolic links? but I still got a problem: the devellopers of the system I'm working on have put all the system/program files in the root. And we gotta alias all te root's files, but not some files inside config and no files inside the userfiles directory... thanks in advance Quote Link to comment Share on other sites More sharing options...
eric1235711 Posted May 29, 2007 Author Share Posted May 29, 2007 help? Quote Link to comment Share on other sites More sharing options...
eric1235711 Posted June 6, 2007 Author Share Posted June 6, 2007 apache handles linux's symbolic links? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.