Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member christi1's Avatar
    Join Date
    Oct 2003
    Location
    Texas, USA
    Posts
    65

    Default symbolic link (or any other idea) question...

    Alright...

    I have 3 accounts: one, two and three.

    In account one, I have the following:

    /
    /admin/
    /admin/files1/
    /admin/files2/
    /graphics/
    /includes/
    /products/

    I need accounts two and three to have the following exact same content as account one:

    /
    /admin/
    /admin/files2/
    /graphics/
    /products/

    While maintaining the following separate directories for accounts two and three:

    /admin/files1/
    /includes/

    Our /admin directory for account one is .htaccess protected as well.

    I should the files in /includes carry different variables for each account, including layout header and footer, etc.

    Is there a relatively easy way to achieve this?? I basically need 2 sites with the exact same content, but different header, footer and globals as are located in our /includes directory and different order information as is located in our /admin/files1 directory.

    It seems extremely redundant to me to create 2 complete sites with all of the above same information when only the information in 2 directories remains different.

    Any help or ideas will be much appreciated.

    Further notes hat may help: I do have root access and am extremely proficient in PHP.

  2. #2
    Member bamasbest's Avatar
    Join Date
    Jan 2004
    Posts
    531

    Default

    One way, since you are proficient in php .....

    Database your data/images for the ./files* /graphics /products.

    Then, for each account, dynamically serve up the content as needed, including the appropriate headers/footers.

  3. #3
    Member christi1's Avatar
    Join Date
    Oct 2003
    Location
    Texas, USA
    Posts
    65

    Default

    thanks, resolved this yesterday and forgot to post back.

Similar Threads & Tags
Similar threads

  1. Symbolic link to libmysqlclient.so.14
    By flash7 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-03-2006, 11:33 AM
  2. Jailshell and symbolic link problem.
    By carock in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-31-2006, 12:54 PM
  3. Issue with Symbolic Link in cPanel
    By Big Bruin in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-06-2005, 10:53 AM
  4. symbolic link disappears ???
    By wsenter in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-13-2004, 05:01 PM
  5. Webalizer symbolic link
    By billau in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-30-2004, 12:17 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube