apache mods help

Discussion in 'Apache' started by Objects, Aug 8, 2008.

  1. #1
    Hello experts,
    I have a website for downloading files and I'm using php to serve download but it has heavy load on resources and downloading usually interrupted so..
    I want to make the apache handle all downloads but allowing only registered users to download files and redirect unregistered users to the login form
    how can I do this using apache mods?
     
    Objects, Aug 8, 2008 IP
  2. Objects

    Objects Well-Known Member

    Messages:
    388
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    140
    #2
    download link looking like
    domain.com/files/filename.abc
    I want that url to respond by sending file in case the referrer is domain.com and user is authenticated otherwise refuse connection
     
    Objects, Aug 8, 2008 IP