1
dianLadybug
One Xoops install with many domain/sites
  • 2007/4/23 22:37

  • dianLadybug

  • Just popping in

  • Posts: 2

  • Since: 2007/3/8 0


Having looked all over for an answer I hope someone here knows

I am running
Debian4 / Apache
PHP 5
Xoops 2.0.16
mySQL

right now I have 4 sites (all XOOPS ) and quite a few more to go up.
each site is totally different from ezch other.

I was thinking that it might be a matter of coping a few files into the root of each domain and then editing them to change the location of the root of the main XOOPS file and modules. ???

any ideas?

2
jmorris2
Re: One Xoops install with many domain/sites
  • 2007/4/23 22:47

  • jmorris2

  • Just popping in

  • Posts: 46

  • Since: 2007/4/17


From a linux command line...

cp -lrv /path/to/shared/xoops/files /desired/www/directory

This will create your symbolic links to your shared base files

Remove the mainfile.php, cache/, modules/, templates_c/ and uploads/ symbolic links and copy those directories to each domains web root.

This will allow you to install XOOPS using [mostly] once set of Core files.

Make sure your chown and chmod permissions are correct if you are not using suexec.
The lights are on... nobody's home

3
dianLadybug
Re: One Xoops install with many domain/sites
  • 2007/4/24 14:42

  • dianLadybug

  • Just popping in

  • Posts: 2

  • Since: 2007/3/8 0


It has been a long time since I worked with Unix and forgot about linking files.

Would this work for the modules too?

thanks for your quick response.

D

4
jmorris2
Re: One Xoops install with many domain/sites
  • 2007/4/24 15:00

  • jmorris2

  • Just popping in

  • Posts: 46

  • Since: 2007/4/17


Theoretically, yes, it would work; however, I would not recommend it as it has the potential for security issues and may add to administrative headaches and possible module incompatibility issues.

I believe you would be safe to use the same "system" module on all sites though. Just remove the symlinks to any other modules in the base files.

Also, if you plan to use customized versions of themes for each site, you may want to keep that folder separate as well.
The lights are on... nobody's home

Login

Who's Online

133 user(s) are online (87 user(s) are browsing Support Forums)


Members: 0


Guests: 133


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits