how to set the Apache parameters for a photo website?

Discussion in 'Apache' started by sibad_sh, Apr 29, 2011.

  1. #1
    Requirements:

    From the photo website, the user can visit the photos of his friends, however he could not visit others'. For example:
    User A
    His photos: http://www.test.com/abcd/2011/001.jpg;
    His friends: user B, D

    The user B, he can see the photos of his friend User A when he typed the URL of the photos in the browser.however,When user C(not A' friend) typed the same links of the photos of A in the browser, he could not open those URL and can not view those photos.

    How to set the apache with the connection to the table information of the database?
     
    sibad_sh, Apr 29, 2011 IP
  2. Intermg

    Intermg Active Member

    Messages:
    1,282
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    65
    #2
    I think it would be better to do that on CMS/site script level rather than play with Apache config.
     
    Intermg, Apr 29, 2011 IP