Quote:
Originally Posted by Poag
Hi there.
I have a relativly minor problem thats stopping me setting the mod active.
I use a seperate webserver to host my file downloads, this uses a seperate port, not matter how i try however I cannot get the mod to accept the seperate port as a "correct" host. It keeps trying to go through my file system and make new folders under :81
I upload files to /home/bob/downloads/uploads which goes to www.example.com/downloads/uploads
however i would like it to point to www.example.com:81/downloads/uploads
Any help greatly apprietiated 
|
Hello again. Can I ask for some more information on how you are trying to make this work?
I tested the following:
- I set up a trial server on port 81, and constructed an entry in LDM on another server pointing to
http://trial_server:81/myfile.pdf. This is accessed and downloaded correctly via LDM.
- However, I don't understand why you are running two servers on the same machine. When LDM accesses files via a full url, the access is *much* less efficient than a direct filestore link, even if it is on the same machine. There is an overhead in http access which does not exist when you do a direct file read
- If you want LDM to get at files that are on the same computer but in a different part of the filestore, the easiest way to deal with this is via the LDM *local_file_root* and *local_file_root_prefix* parameters, e.g.
- set local_file_root = yes
- set local_file_root_prefix to /home/bob/dowloads
- set upload_dir to /uploads
I'm missing something important, I'm sure.