Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Sep 2002
    Location
    Australia
    Posts
    46
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Multi Site Admin questions

    Hi

    Would love to hear any thoughts, sugestions and experiences regarding Multi site Admin

    After trying most of the CMS's out there all which either confused my clients or had too many/not enough features have written my own, everything is working fine but I was hoping for some thoughts on how to make it more a central admin that all my users can log onto instead of having a seperate instance of the CMS on each domain.

    The database makes most of this easy but my main issue is images.
    Can I upload images from the "admin domain" and save it to "site domain"
    or do I have to save it onto the "admin domain" and have the "site domain" reference the images from the "admin domain"
    If I use the second option will I end up with a slower "site domain"

    Also the CMS builds a cache file for each page after it has been edited or added, to reduce the database calls on the front end so same question as for the images, where can I save them for the best performance?

    All the Domains are on the same shared server


    Server Info

    Database Version: 4.1.13-standard-log
    PHP Version: 4.4.2
    Web Server: Apache/1.3.36 (Unix) mod_ssl/2.8.27 OpenSSL/0.9.7a PHP/4.4.2 mod_perl/1.29 FrontPage/5.0.2.2510
    WebServer to PHP interface: apache
    PHP Settings:
    Safe Mode: ON
    Open basedir: none
    Display Errors: ON
    Short Open Tags: ON
    File Uploads: ON
    Magic Quotes: ON
    Register Globals: ON
    Output Buffering: OFF
    Session save path: /tmp
    Session auto start: 0
    XML enabled: Yes
    Zlib enabled: Yes
    Disabled Functions: none
    The problem is IE

  • #2
    fci
    fci is offline
    Senior Coder
    Join Date
    Aug 2004
    Location
    Twin Cities
    Posts
    1,345
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you could store the images as blobs in the database, or have a separate server(perhaps using lighttpd..) running as a file server, i would store the images on the site's domain.

    if you are duplicating the files of your admin control panel or whatever it is on each domain then that is a bad step, you can use includes and have them point to files to a central location on the server(such as /home/admincp/) even better is to use mod_alias:
    httpd.apache.org/docs/2.0/mod/mod_alias.html
    so then all domains at domain.com/admincp would point to files located at /home/admincp
    you want to try to eliminate any amount of redundancy as that would increase the amount of maintenance required.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •